Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001383/0.001383, allocations: 188.3 kB / 16.13 MB, free: 6.656 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.555/1.555, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.56 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3654, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003496/0.369, allocations: 1.209 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.371, allocations: 1.396 MB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3711, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.942e-05/0.3712, allocations: 11.86 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3714, allocations: 35.72 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.3721, allocations: 262.4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.3725, allocations: 359.9 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.3727, allocations: 116.2 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3729, allocations: 127.5 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.373, allocations: 131.3 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.3731, allocations: 20 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.3732, allocations: 39.97 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.3733, allocations: 47.72 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3734, allocations: 139.3 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.3739, allocations: 454.9 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3739, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3739, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3739, allocations: 4 kB / 1.072 GB, free: 6.59 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.001008/0.3749, allocations: 0.6072 MB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.375, allocations: 12.03 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3751, allocations: 28.66 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.3759, allocations: 339.5 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.3759, allocations: 20.38 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.376, allocations: 24.38 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.3763, allocations: 181.8 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3763, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3763, allocations: 12 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3764, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.3766, allocations: 108 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3776, allocations: 0.6991 MB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.3781, allocations: 166.8 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3782, allocations: 68.84 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3782, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.3785, allocations: 127.3 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.3785, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004864/0.379, allocations: 222.5 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.3791, allocations: 59.41 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.3793, allocations: 215.1 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.3793, allocations: 41.7 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3795, allocations: 144.4 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3795, allocations: 47.44 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3797, allocations: 77.67 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3798, allocations: 334.8 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3801, allocations: 99.95 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.3803, allocations: 166.8 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3806, allocations: 222.5 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3806, allocations: 0 / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005975/0.3812, allocations: 354 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.3813, allocations: 69.53 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3813, allocations: 0 / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3814, allocations: 7.938 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.3814, allocations: 23.92 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3815, allocations: 0 / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.3818, allocations: 83.89 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.3819, allocations: 15.98 kB / 1.076 GB, free: 1.766 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.0001843/0.3821, allocations: 151.5 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.3821, allocations: 31.67 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.3822, allocations: 21.88 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3822, allocations: 4 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3822, allocations: 0 / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3822, allocations: 0 / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.3825, allocations: 293.4 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3825, allocations: 48 / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.3826, allocations: 23.92 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3826, allocations: 3.938 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.3826, allocations: 7.984 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3826, allocations: 0 / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3827, allocations: 4 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.383, allocations: 190.2 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.383, allocations: 104.8 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.3831, allocations: 7.938 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.3832, allocations: 15.98 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3833, allocations: 27.95 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3833, allocations: 15.98 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000115/0.3834, allocations: 144.6 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3834, allocations: 0 / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002912/0.3837, allocations: 59.84 kB / 1.077 GB, free: 0.5898 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.0001783/0.3839, allocations: 111.2 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.3844, allocations: 343.5 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3845, allocations: 4.062 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3846, allocations: 77.81 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3849, allocations: 36.17 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/0.3857, allocations: 456.2 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3861, allocations: 0.7404 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.533e-05/0.3862, allocations: 21.94 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.3863, allocations: 27.38 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3863, allocations: 4 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.007251/0.3936, allocations: 3.194 MB / 1.082 GB, free: 11.54 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)