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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01031/0.01031, allocations: 102.1 kB / 15.73 MB, free: 6.004 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.001876/0.001876, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001598, allocations: 63.89 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9702/0.9719, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002814/0.9747, allocations: 1.157 MB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.977, allocations: 1.373 MB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.9771, allocations: 7.938 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.688e-05/0.9772, allocations: 23.67 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.9774, allocations: 59.58 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.9782, allocations: 294.4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.9786, allocations: 427.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.9789, allocations: 120.2 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.9791, allocations: 155.5 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.9793, allocations: 151.4 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.9793, allocations: 44 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.9794, allocations: 59.98 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.9795, allocations: 59.72 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.9797, allocations: 163.3 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.9802, allocations: 486.3 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9802, allocations: 4 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9802, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.9802, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 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.0009689/0.9812, allocations: 0.609 MB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.9813, allocations: 8.031 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.9814, allocations: 36.59 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.9822, allocations: 335.5 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.9822, allocations: 20.38 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.9823, allocations: 28.38 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.9826, allocations: 177.9 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.9827, allocations: 0 / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.9827, allocations: 4 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.9827, allocations: 8 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.9829, allocations: 108 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.984, allocations: 0.6912 MB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.9845, allocations: 162.8 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.9846, allocations: 75.5 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.9847, allocations: 0 / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.985, allocations: 136.6 kB / 1.214 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.985, allocations: 4 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004885/0.9855, allocations: 219.7 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.9856, allocations: 59.41 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.9858, allocations: 212.1 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.9859, allocations: 37.7 kB / 1.215 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.986, allocations: 152.5 kB / 1.215 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.9861, allocations: 47.44 kB / 1.215 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.9862, allocations: 77.67 kB / 1.215 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9864, allocations: 334.8 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.9866, allocations: 99.95 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.9868, allocations: 160.1 kB / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.9872, allocations: 224.1 kB / 1.216 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.9872, allocations: 4 kB / 1.216 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005572/0.9877, allocations: 356.5 kB / 1.216 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.9878, allocations: 71.34 kB / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.9878, allocations: 0 / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.9878, allocations: 0 / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.9879, allocations: 23.92 kB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.988, allocations: 0 / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.9883, allocations: 79.89 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.9884, allocations: 19.98 kB / 1.217 GB, free: 4.273 MB / 0.9356 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,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.9886, allocations: 143.6 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.9886, allocations: 27.73 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.9887, allocations: 21.88 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.9887, allocations: 7.938 kB / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9887, allocations: 0 / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9887, allocations: 0 / 1.217 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.989, allocations: 297.3 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.989, allocations: 4 kB / 1.217 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.9891, allocations: 16 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9891, allocations: 3.938 kB / 1.217 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.9891, allocations: 7.984 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9891, allocations: 4 kB / 1.217 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9891, allocations: 0 / 1.217 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.9894, allocations: 196.8 kB / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.9895, allocations: 100.8 kB / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.9895, allocations: 11.94 kB / 1.217 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.9896, allocations: 11.98 kB / 1.217 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.9897, allocations: 31.95 kB / 1.217 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.9897, allocations: 8 kB / 1.217 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001186/0.9899, allocations: 151.1 kB / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9899, allocations: 0 / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002745/0.9902, allocations: 59.91 kB / 1.218 GB, free: 3.102 MB / 0.9356 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,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 (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.0001947/0.9904, allocations: 117 kB / 1.218 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.9909, allocations: 342.6 kB / 1.218 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9909, allocations: 0 / 1.218 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.991, allocations: 82.16 kB / 1.218 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.9913, allocations: 39.89 kB / 1.218 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.9921, allocations: 388.4 kB / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.9924, allocations: 0.744 MB / 1.219 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.684e-05/0.9925, allocations: 29.98 kB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.9926, allocations: 23.42 kB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.9926, allocations: 0 / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.007193/0.9998, allocations: 3.496 MB / 1.223 GB, free: 13.8 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches