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.001403/0.001403, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001243/0.001243, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.469/1.469, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.78 kB / 0.8986 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3671, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002788/0.37, allocations: 1.201 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.372, allocations: 1.377 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3721, allocations: 4 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.635e-05/0.3722, allocations: 15.8 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3724, allocations: 27.78 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.3731, allocations: 273.4 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.3735, allocations: 411.9 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.3737, allocations: 120.2 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.3739, allocations: 159.5 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3741, allocations: 139.4 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.3742, allocations: 51.98 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3743, allocations: 59.98 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.3743, allocations: 63.72 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3745, allocations: 159.3 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.375, allocations: 470.9 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.375, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.375, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.375, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 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.0009229/0.376, allocations: 0.615 MB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.376, allocations: 8.625 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.3761, allocations: 36.64 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.3768, allocations: 331.7 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3768, allocations: 20.38 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.3769, allocations: 24.38 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.3772, allocations: 177.9 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3772, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3772, allocations: 4 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3773, allocations: 4 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.3775, allocations: 115.9 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3785, allocations: 0.6913 MB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.3789, allocations: 166.8 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.3791, allocations: 68.84 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3791, allocations: 7.938 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.3794, allocations: 136.8 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.3794, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004476/0.3798, allocations: 218.9 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3799, allocations: 55.41 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.3801, allocations: 219 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.3801, allocations: 37.7 kB / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3803, allocations: 140.5 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.3803, allocations: 51.34 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3805, allocations: 81.67 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3806, allocations: 338.8 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3808, allocations: 99.95 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.381, allocations: 156 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.3814, allocations: 221.5 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3814, allocations: 0 / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005853/0.382, allocations: 359.7 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.382, allocations: 67.33 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.382, allocations: 8.125 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3821, allocations: 0 / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.3821, allocations: 20 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.3822, allocations: 4 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.3826, allocations: 79.69 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3826, allocations: 16 kB / 1.061 GB, free: 15.41 MB / 0.8262 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.0001561/0.3828, allocations: 155.6 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.3828, allocations: 23.66 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.3829, allocations: 21.88 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3829, allocations: 7.938 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3829, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3829, allocations: 3.984 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.3832, allocations: 289.5 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3832, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.3832, allocations: 15.94 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3833, allocations: 7.922 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3833, allocations: 8 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3833, allocations: 0 / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3833, allocations: 0 / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3836, allocations: 202.8 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.3837, allocations: 100.8 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.3837, allocations: 11.94 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.3838, allocations: 15.98 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.3839, allocations: 27.95 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3839, allocations: 8 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001416/0.3841, allocations: 148.4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3841, allocations: 3.938 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002951/0.3844, allocations: 67.83 kB / 1.062 GB, free: 14.22 MB / 0.8262 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.0002183/0.3846, allocations: 119.7 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.3852, allocations: 346.5 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3852, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3853, allocations: 79.92 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3857, allocations: 44 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.3863, allocations: 453.8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3867, allocations: 0.7402 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3868, allocations: 33.88 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.3868, allocations: 19.44 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3868, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.00657/0.3934, allocations: 3.346 MB / 1.067 GB, free: 9.016 MB / 0.8262 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