Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.009303/0.009304, allocations: 95.17 kB / 15.73 MB, free: 6.047 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.001871/0.001871, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.864/2.864, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.91 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3555, allocations: 151.6 MB / 1.167 GB, free: 6.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002495/0.3581, allocations: 1.147 MB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3602, allocations: 1.381 MB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3603, allocations: 0 / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.025e-05/0.3604, allocations: 27.67 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.3606, allocations: 47.59 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.3614, allocations: 294.8 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.3619, allocations: 431.8 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.3622, allocations: 112.2 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3623, allocations: 167.4 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3625, allocations: 155.4 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.3626, allocations: 44 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3627, allocations: 59.98 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.3628, allocations: 63.77 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.363, allocations: 159.3 kB / 1.171 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.3635, allocations: 486.2 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3635, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3635, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3635, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 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.001049/0.3646, allocations: 0.6264 MB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3646, allocations: 8.031 kB / 1.172 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.3647, allocations: 36.75 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.3654, allocations: 331.5 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.3654, allocations: 24.33 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.3655, allocations: 24.38 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.3658, allocations: 173.9 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3659, allocations: 4 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3659, allocations: 8 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3659, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.3661, allocations: 119.9 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3674, allocations: 0.6915 MB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.3678, allocations: 166.8 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3679, allocations: 64.84 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3679, allocations: 4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.3682, allocations: 135.2 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.3682, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004903/0.3687, allocations: 219.5 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3688, allocations: 59.41 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.369, allocations: 212.1 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.3691, allocations: 37.7 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3692, allocations: 152.7 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.3693, allocations: 51.67 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3695, allocations: 77.67 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3696, allocations: 334.8 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3699, allocations: 95.95 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.3701, allocations: 159.8 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.3704, allocations: 217.7 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3704, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005837/0.371, allocations: 361.5 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.3711, allocations: 73.48 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3711, allocations: 0 / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3711, allocations: 4 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.3712, allocations: 19.94 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3712, allocations: 4 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.3716, allocations: 83.75 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.3717, allocations: 16 kB / 1.175 GB, free: 13.53 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.0001759/0.3719, allocations: 151.6 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3719, allocations: 23.78 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.372, allocations: 21.88 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.372, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.372, allocations: 4 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.372, allocations: 7.984 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.3723, allocations: 293.4 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3723, allocations: 0 / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.3724, allocations: 15.98 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3724, allocations: 3.938 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.3725, allocations: 4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3725, allocations: 4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3725, allocations: 0 / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.3728, allocations: 206.7 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.3728, allocations: 92.95 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.3729, allocations: 11.94 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.373, allocations: 11.98 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.3731, allocations: 39.89 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3731, allocations: 8 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002449/0.3733, allocations: 147.4 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3733, allocations: 0 / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003015/0.3736, allocations: 59.88 kB / 1.177 GB, free: 12.34 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.000186/0.3738, allocations: 128.5 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.3744, allocations: 342.5 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3744, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3745, allocations: 71.92 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3749, allocations: 57.05 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.3756, allocations: 379.8 kB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.376, allocations: 0.7441 MB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.719e-05/0.3761, allocations: 25.94 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.3762, allocations: 27.44 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.3762, allocations: 0 / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of Templates: time 0.00748/0.3837, allocations: 3.49 MB / 1.182 GB, free: 7.051 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches