Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.563/1.563, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 175.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007293/0.0007293, allocations: 94.45 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005177, allocations: 12 kB / 0.9088 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.572, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.7374, allocations: 146.1 MB / 1.169 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.7376, allocations: 90.44 kB / 1.169 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02205/0.7597, allocations: 8.658 MB / 1.178 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7597, allocations: 1.219 kB / 1.178 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.7598, allocations: 13.81 kB / 1.178 GB, free: 7.082 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008213/0.7606, allocations: 0.5986 MB / 1.178 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7606, allocations: 14.12 kB / 1.178 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.7607, allocations: 36.47 kB / 1.178 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.7612, allocations: 348.2 kB / 1.179 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.7612, allocations: 12.38 kB / 1.179 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.7613, allocations: 31.25 kB / 1.179 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.7616, allocations: 185.7 kB / 1.179 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.7616, allocations: 3.938 kB / 1.179 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.7617, allocations: 8 kB / 1.179 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7617, allocations: 8.531 kB / 1.179 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.7619, allocations: 148.6 kB / 1.179 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009729/0.7629, allocations: 0.6931 MB / 1.18 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.7634, allocations: 208.4 kB / 1.18 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.7635, allocations: 76.77 kB / 1.18 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.7635, allocations: 7.906 kB / 1.18 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.7638, allocations: 132.8 kB / 1.18 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.7638, allocations: 0 / 1.18 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0004905/0.7643, allocations: 254 kB / 1.18 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.7643, allocations: 63.25 kB / 1.18 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.7647, allocations: 380.7 kB / 1.181 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.7648, allocations: 33.7 kB / 1.181 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7649, allocations: 184.3 kB / 1.181 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.7649, allocations: 44.62 kB / 1.181 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.7649, allocations: 4 kB / 1.181 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7651, allocations: 346.8 kB / 1.181 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.7652, allocations: 104 kB / 1.181 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.7655, allocations: 157.5 kB / 1.182 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.7657, allocations: 165.7 kB / 1.182 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7658, allocations: 4 kB / 1.182 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004624/0.7662, allocations: 310.7 kB / 1.182 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7662, allocations: 6.188 kB / 1.182 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7663, allocations: 0 / 1.182 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7663, allocations: 4 kB / 1.182 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.7664, allocations: 39.91 kB / 1.182 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7664, allocations: 1.031 kB / 1.182 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.7666, allocations: 43.84 kB / 1.182 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.7667, allocations: 16 kB / 1.182 GB, free: 2.258 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.7668, allocations: 173 kB / 1.182 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.7669, allocations: 27.62 kB / 1.182 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.7673, allocations: 234.1 kB / 1.182 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.7673, allocations: 4 kB / 1.182 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7673, allocations: 1.938 kB / 1.182 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.7673, allocations: 7.922 kB / 1.182 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.7676, allocations: 345.3 kB / 1.183 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7676, allocations: 0 / 1.183 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.7677, allocations: 20.92 kB / 1.183 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7677, allocations: 0 / 1.183 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.7677, allocations: 11.98 kB / 1.183 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7677, allocations: 0 / 1.183 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7677, allocations: 4 kB / 1.183 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.7681, allocations: 242.1 kB / 1.183 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.7682, allocations: 112.7 kB / 1.183 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.7682, allocations: 8 kB / 1.183 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.7683, allocations: 19.98 kB / 1.183 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.7684, allocations: 39.94 kB / 1.183 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7684, allocations: 7.188 kB / 1.183 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002344/0.7687, allocations: 247 kB / 1.184 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7687, allocations: 0 / 1.184 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002724/0.769, allocations: 75.88 kB / 1.184 GB, free: 0.625 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008755/0.7698, allocations: 449.9 kB / 1.184 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.7702, allocations: 215.8 kB / 1.184 GB, free: 208 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7702, allocations: 0 / 1.184 GB, free: 208 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.7704, allocations: 91.91 kB / 1.184 GB, free: 116 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.7707, allocations: 47.84 kB / 1.184 GB, free: 72 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.7715, allocations: 0.5796 MB / 1.185 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7718, allocations: 0.7794 MB / 1.186 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.7719, allocations: 44.94 kB / 1.186 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.772, allocations: 27.42 kB / 1.186 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.772, allocations: 0 / 1.186 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.006536/0.7786, allocations: 3.473 MB / 1.189 GB, free: 11.27 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)