Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.49/2.49, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 186.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.1 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009448, allocations: 100.3 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005747/0.0005746, allocations: 12.05 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3645, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.5576, allocations: 151.3 MB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5579, allocations: 75.95 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.5727, allocations: 5.233 MB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.017e-06/0.5727, allocations: 0 / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.5727, allocations: 11.88 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009055/0.5736, allocations: 0.5661 MB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5737, allocations: 8.562 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.5738, allocations: 39.61 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.5741, allocations: 211.5 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.5741, allocations: 16 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.5742, allocations: 28 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.5745, allocations: 181.5 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5746, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.5746, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5746, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.5748, allocations: 127.9 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.576, allocations: 0.7343 MB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.5765, allocations: 189.3 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5765, allocations: 4 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.5768, allocations: 151.8 kB / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.5768, allocations: 0 / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0004682/0.5773, allocations: 231.3 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5773, allocations: 55.41 kB / 1.385 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.5776, allocations: 206 kB / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.5776, allocations: 41.69 kB / 1.385 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.5778, allocations: 140.7 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.5778, allocations: 47.44 kB / 1.385 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.5778, allocations: 11.94 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.578, allocations: 326.8 kB / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.5782, allocations: 112 kB / 1.385 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.5785, allocations: 176.8 kB / 1.386 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.5787, allocations: 159.5 kB / 1.386 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5787, allocations: 0 / 1.386 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006246/0.5793, allocations: 390.8 kB / 1.386 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.5794, allocations: 71.41 kB / 1.386 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5794, allocations: 3.984 kB / 1.386 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5795, allocations: 4 kB / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.5795, allocations: 15.94 kB / 1.386 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5796, allocations: 4 kB / 1.386 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.58, allocations: 107.9 kB / 1.386 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.58, allocations: 20 kB / 1.386 GB, free: 8.273 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.5803, allocations: 151.5 kB / 1.387 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.5803, allocations: 19.77 kB / 1.387 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.5804, allocations: 21.88 kB / 1.387 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5804, allocations: 7.984 kB / 1.387 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5804, allocations: 0 / 1.387 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5804, allocations: 7.938 kB / 1.387 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.5807, allocations: 305.5 kB / 1.387 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5807, allocations: 4 kB / 1.387 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.5808, allocations: 8 kB / 1.387 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5808, allocations: 4 kB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5808, allocations: 11.98 kB / 1.387 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5808, allocations: 3.984 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5809, allocations: 15.86 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.5812, allocations: 210.8 kB / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.5812, allocations: 92.92 kB / 1.387 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.5813, allocations: 4 kB / 1.387 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.5814, allocations: 15.98 kB / 1.387 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.5815, allocations: 43.89 kB / 1.387 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5815, allocations: 8 kB / 1.387 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001338/0.5816, allocations: 156.4 kB / 1.387 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5816, allocations: 0 / 1.387 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003086/0.5819, allocations: 67.84 kB / 1.387 GB, free: 7.043 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/0.5821, allocations: 127.8 kB / 1.388 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.5827, allocations: 361.3 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5827, allocations: 0 / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.5828, allocations: 87.91 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.5831, allocations: 39.97 kB / 1.388 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.5838, allocations: 434.2 kB / 1.388 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.5841, allocations: 0.7482 MB / 1.389 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.5842, allocations: 21.94 kB / 1.389 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.5843, allocations: 27.38 kB / 1.389 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5843, allocations: 0 / 1.389 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of Templates: time 0.006891/0.5912, allocations: 3.26 MB / 1.392 GB, free: 1.906 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches