Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009179/0.000918, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00653/0.00653, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.579/1.579, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.056/3.056, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004128, allocations: 16.95 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4477, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001708/0.4495, allocations: 0.8432 MB / 1.075 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.4514, allocations: 1.385 MB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.4515, allocations: 4 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.627e-05/0.4516, allocations: 11.86 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.4518, allocations: 27.78 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.4525, allocations: 278.2 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.4528, allocations: 359.9 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.4531, allocations: 108.2 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4532, allocations: 111.5 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.4534, allocations: 119.4 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.4535, allocations: 16 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.4536, allocations: 27.92 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.4536, allocations: 35.8 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.4538, allocations: 153 kB / 1.078 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.4542, allocations: 446.8 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4542, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4542, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4542, allocations: 0 / 1.078 GB, free: 3.645 MB / 0.8262 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.0008405/0.4551, allocations: 0.5527 MB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4551, allocations: 8.031 kB / 1.079 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.4552, allocations: 36.56 kB / 1.079 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.4559, allocations: 327.6 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.456, allocations: 20.38 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.456, allocations: 32.36 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.4564, allocations: 181.8 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4564, allocations: 0 / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.4564, allocations: 11.98 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4564, allocations: 4 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.4566, allocations: 108 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4577, allocations: 0.703 MB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.4581, allocations: 166.8 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4582, allocations: 80.81 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4583, allocations: 3.938 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.4585, allocations: 127.2 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.4585, allocations: 4 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004446/0.459, allocations: 218.5 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4591, allocations: 55.41 kB / 1.081 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.4593, allocations: 223 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.4593, allocations: 41.69 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4594, allocations: 136.5 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.4595, allocations: 43.45 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.4596, allocations: 45.69 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4597, allocations: 338.8 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4599, allocations: 99.95 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4602, allocations: 158.8 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.4605, allocations: 217.9 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4605, allocations: 8 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005521/0.4611, allocations: 353.5 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.4611, allocations: 72.75 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4611, allocations: 0 / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4612, allocations: 0 / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.4612, allocations: 23.92 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4612, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.4617, allocations: 111.8 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.4617, allocations: 15.98 kB / 1.082 GB, free: 14.87 MB / 0.8419 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.0001609/0.4619, allocations: 151.5 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.4619, allocations: 27.64 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.462, allocations: 21.88 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.462, allocations: 7.938 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.462, allocations: 4 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.462, allocations: 3.984 kB / 1.083 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.4623, allocations: 289.5 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.4623, allocations: 4 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.4624, allocations: 19.94 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.4624, allocations: 3.938 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.4624, allocations: 7.984 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4624, allocations: 0 / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4624, allocations: 0 / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.4627, allocations: 198.7 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.4628, allocations: 100.8 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.4628, allocations: 11.94 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.4629, allocations: 15.98 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.463, allocations: 27.95 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4631, allocations: 15.98 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001148/0.4632, allocations: 144.6 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4632, allocations: 0 / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000279/0.4635, allocations: 59.84 kB / 1.083 GB, free: 13.69 MB / 0.8419 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.0001643/0.4636, allocations: 111.2 kB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.4641, allocations: 343.4 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4642, allocations: 256 / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.4643, allocations: 81.12 kB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.4646, allocations: 39.91 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.4653, allocations: 456.8 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4657, allocations: 0.7404 MB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.063e-05/0.4658, allocations: 29.97 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.4658, allocations: 27.42 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4658, allocations: 0 / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.00695/0.4728, allocations: 3.18 MB / 1.088 GB, free: 8.652 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)