Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009115/0.009115, allocations: 102 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.846, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001874/0.8479, allocations: 0.7065 MB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.8494, allocations: 1.263 MB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.8495, allocations: 4.969 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.8495, allocations: 7.875 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.8496, allocations: 16.7 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.8504, allocations: 312.1 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.8507, allocations: 271.3 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.8508, allocations: 17.17 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.8509, allocations: 108.3 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.8511, allocations: 92.94 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.8511, allocations: 25.47 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.8512, allocations: 36.84 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.8513, allocations: 11.78 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.8514, allocations: 87.36 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.8517, allocations: 215.8 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8517, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8517, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8517, allocations: 1.594 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005341/0.8522, allocations: 494.3 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8523, allocations: 9.656 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.8523, allocations: 37.34 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.8524, allocations: 15.59 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.8525, allocations: 181.2 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.8525, allocations: 8.234 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.8526, allocations: 17.2 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.8527, allocations: 64.23 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8527, allocations: 0 / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8527, allocations: 1.625 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8527, allocations: 4.938 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/0.8528, allocations: 17.72 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.8534, allocations: 413.4 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.431e-05/0.8534, allocations: 34.08 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.8535, allocations: 22.55 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.8535, allocations: 0.7812 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.8537, allocations: 105 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8537, allocations: 0.75 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000308/0.8541, allocations: 139.7 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.8541, allocations: 55.22 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.8542, allocations: 132.8 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.8542, allocations: 32.06 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.8543, allocations: 105.5 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.8543, allocations: 20.64 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.8545, allocations: 75.17 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.8545, allocations: 324.5 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.8547, allocations: 86.16 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.8549, allocations: 132.9 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.8552, allocations: 232.5 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8552, allocations: 4 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005899/0.8558, allocations: 375 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.8558, allocations: 102.7 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8558, allocations: 1.438 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8559, allocations: 2.438 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.8559, allocations: 8.031 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.8559, allocations: 7.031 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.8564, allocations: 83.72 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.8565, allocations: 18.03 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.349e-05/0.8566, allocations: 136.5 kB / 1.094 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.8566, allocations: 12.19 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.8566, allocations: 10.66 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8566, allocations: 5.594 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8567, allocations: 0.7969 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8567, allocations: 1.281 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.8568, allocations: 192 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8568, allocations: 0 / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.8568, allocations: 2.688 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8568, allocations: 1.812 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.8568, allocations: 5.922 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8568, allocations: 1.469 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8568, allocations: 3.938 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.857, allocations: 141.2 kB / 1.094 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.8571, allocations: 84.34 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8571, allocations: 2.641 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.8571, allocations: 0.7969 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.8572, allocations: 12.75 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.8572, allocations: 4.219 kB / 1.094 GB, free: 236 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.8572, allocations: 101.3 kB / 1.094 GB, free: 152 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8572, allocations: 0.625 kB / 1.094 GB, free: 152 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002853/0.8575, allocations: 51.98 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004964/0.858, allocations: 0.6816 MB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.8586, allocations: 366.5 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8586, allocations: 5.062 kB / 1.096 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.8587, allocations: 38.72 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8589, allocations: 21.56 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.8616, allocations: 2.05 MB / 1.098 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.8619, allocations: 0.701 MB / 1.098 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.8619, allocations: 7.359 kB / 1.098 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.862, allocations: 26.77 kB / 1.098 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.862, allocations: 1.062 kB / 1.098 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.8827, allocations: 3.82 MB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.897, allocations: 2.25 kB / 1.102 GB, free: 12.33 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches