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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 187.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 113.1 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 48.73 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2984, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002285/0.3008, allocations: 1.211 MB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3023, allocations: 1.385 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3024, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.3025, allocations: 15.8 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.3026, allocations: 27.78 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.3033, allocations: 274.2 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.3035, allocations: 371.8 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3037, allocations: 112.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3038, allocations: 123.5 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.304, allocations: 131.4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.304, allocations: 23.94 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3041, allocations: 31.92 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.3042, allocations: 51.81 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3043, allocations: 135.3 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.3046, allocations: 456.7 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3046, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3047, allocations: 3.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3047, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 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.0007405/0.3054, allocations: 0.615 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3055, allocations: 11.98 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.3055, allocations: 32.66 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.3061, allocations: 331.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3062, allocations: 16.38 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3062, allocations: 32.12 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.3065, allocations: 169.5 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.3065, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3065, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3065, allocations: 8 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3067, allocations: 112 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/0.3075, allocations: 0.7029 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.3078, allocations: 154.9 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.3079, allocations: 72.77 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3079, allocations: 4 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.3081, allocations: 132.5 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.3081, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0003587/0.3085, allocations: 214.4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3085, allocations: 71.23 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3087, allocations: 215.6 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3087, allocations: 37.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.3088, allocations: 152.5 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3089, allocations: 43.45 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.309, allocations: 77.67 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.309, allocations: 326.8 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3092, allocations: 104 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3094, allocations: 158.1 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3096, allocations: 216.6 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3096, allocations: 4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004445/0.3101, allocations: 362 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.3101, allocations: 75.33 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3101, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3102, allocations: 4 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.3102, allocations: 23.92 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3102, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.3106, allocations: 79.89 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.3106, allocations: 19.98 kB / 1.227 GB, free: 108.1 MB / 0.823 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.000109/0.3107, allocations: 152.2 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3108, allocations: 19.75 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.3108, allocations: 25.86 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3108, allocations: 4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3109, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3109, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.311, allocations: 297.4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.311, allocations: 3.938 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.3111, allocations: 15.98 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3111, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3111, allocations: 12 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3111, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3112, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.3116, allocations: 0.8278 MB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.3116, allocations: 96.89 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3117, allocations: 8 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.3117, allocations: 15.98 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.3118, allocations: 39.88 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3118, allocations: 8 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.3119, allocations: 140.6 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3119, allocations: 0 / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003676/0.3123, allocations: 67.69 kB / 1.228 GB, free: 106.2 MB / 0.823 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.0001323/0.3124, allocations: 115.2 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.3128, allocations: 336.6 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3129, allocations: 3.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.313, allocations: 79.91 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3133, allocations: 43.66 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.3139, allocations: 0.6024 MB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.314, allocations: 0.7559 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.405e-05/0.3141, allocations: 25.94 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3142, allocations: 23.44 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/0.3142, allocations: 0 / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of Templates: time 0.005436/0.3196, allocations: 3.342 MB / 1.234 GB, free: 100.8 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)