Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 198.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.3 MB / 0.5488 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 78.28 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3012, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.006197/0.3074, allocations: 4.519 MB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3114, allocations: 2.217 MB / 0.7901 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.3125, allocations: 27.94 kB / 0.7901 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.3132, allocations: 193.7 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3142, allocations: 225.8 kB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3158, allocations: 0.6004 MB / 0.7911 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.3178, allocations: 1.608 MB / 0.7926 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.3193, allocations: 1.145 MB / 0.7938 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.32, allocations: 0.6188 MB / 0.7944 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.3207, allocations: 0.7503 MB / 0.7951 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.3209, allocations: 188 kB / 0.7953 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.3212, allocations: 196 kB / 0.7955 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003474/0.3216, allocations: 434.6 kB / 0.7959 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006525/0.3222, allocations: 0.7965 MB / 0.7967 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.3247, allocations: 2.433 MB / 0.799 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3247, allocations: 0 / 0.799 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3247, allocations: 0 / 0.799 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.377e-05/0.3247, allocations: 0 / 0.799 GB, free: 13.34 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.003314/0.3281, allocations: 1.879 MB / 0.8009 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3281, allocations: 12.03 kB / 0.8009 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.3284, allocations: 182.7 kB / 0.801 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3295, allocations: 0.7949 MB / 0.8018 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.45e-05/0.3296, allocations: 123.5 kB / 0.8019 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.3298, allocations: 160.4 kB / 0.8021 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.3322, allocations: 1.342 MB / 0.8034 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.3323, allocations: 11.88 kB / 0.8034 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3324, allocations: 63.98 kB / 0.8035 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.3324, allocations: 36 kB / 0.8035 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.3347, allocations: 1.188 MB / 0.8047 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006395/0.3411, allocations: 4.121 MB / 0.8087 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3431, allocations: 0.8079 MB / 0.8095 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.3438, allocations: 330.6 kB / 0.8098 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.3438, allocations: 12.66 kB / 0.8098 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008425/0.3447, allocations: 416.2 kB / 0.8102 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.895e-06/0.3447, allocations: 0 / 0.8102 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002348/0.3471, allocations: 1.041 MB / 0.8112 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3471, allocations: 64 kB / 0.8113 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.3485, allocations: 1.029 MB / 0.8123 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.3485, allocations: 45.7 kB / 0.8123 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/0.3491, allocations: 0.69 MB / 0.813 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.3493, allocations: 240.6 kB / 0.8132 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.3496, allocations: 174.5 kB / 0.8134 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3498, allocations: 338 kB / 0.8137 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/0.3506, allocations: 373.8 kB / 0.8141 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.3516, allocations: 0.5475 MB / 0.8146 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.3532, allocations: 0.8539 MB / 0.8155 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.3532, allocations: 8 kB / 0.8155 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002189/0.3554, allocations: 1.115 MB / 0.8166 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.3555, allocations: 37.7 kB / 0.8166 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3555, allocations: 4 kB / 0.8166 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.3555, allocations: 8 kB / 0.8166 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.3564, allocations: 188 kB / 0.8168 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.3564, allocations: 8 kB / 0.8168 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/0.3574, allocations: 194.4 kB / 0.817 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3575, allocations: 39.98 kB / 0.817 GB, free: 10.45 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$whenCondition2,opeMod.y,ahu1.occMod.y,zon3.occSen.y,zon2.occSen.y,zon1.cloWin.y,zon1.occSen.y,ahu1.intEqu1.y,winSta1.y,$PRE.winSta1.y,ahu1.hys1.y,$PRE.ahu1.hys1.y,zon3.hys.y,$PRE.zon3.hys.y,zon3.nOcc,zon2.hys.y,$PRE.zon2.hys.y,zon2.nOcc,zon1.hys.y,$PRE.zon1.hys.y,zon1.nOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * 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.0006913/0.3582, allocations: 325.2 kB / 0.8173 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.3584, allocations: 106.6 kB / 0.8174 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.3603, allocations: 0.8324 MB / 0.8182 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3603, allocations: 11.98 kB / 0.8182 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3603, allocations: 0 / 0.8182 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3604, allocations: 7.984 kB / 0.8183 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.3639, allocations: 2.302 MB / 0.8205 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3639, allocations: 8 kB / 0.8205 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.3645, allocations: 151.8 kB / 0.8207 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.3645, allocations: 11.94 kB / 0.8207 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.3646, allocations: 23.98 kB / 0.8207 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.3646, allocations: 8 kB / 0.8207 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.3646, allocations: 11.94 kB / 0.8207 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.3664, allocations: 1.039 MB / 0.8217 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.3666, allocations: 211.5 kB / 0.8219 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3667, allocations: 24 kB / 0.8219 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.3672, allocations: 63.86 kB / 0.822 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3675, allocations: 112.1 kB / 0.8221 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.3675, allocations: 24 kB / 0.8221 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000879/0.3684, allocations: 0.7025 MB / 0.8228 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3684, allocations: 4 kB / 0.8228 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008536/0.3693, allocations: 294.7 kB / 0.8231 GB, free: 3.949 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,zon1.nOcc,zon1.hys.y,zon2.nOcc,zon2.hys.y,zon3.nOcc,zon3.hys.y,ahu1.hys1.y,winSta1.y) * Number of discrete states: 4 (zon3.hys.y,zon2.hys.y,zon1.hys.y,ahu1.hys1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002476/0.3695, allocations: 147 kB / 0.8232 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.3716, allocations: 0.9458 MB / 0.8242 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.3716, allocations: 4 kB / 0.8242 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3728, allocations: 0.57 MB / 0.8247 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.3737, allocations: 184.1 kB / 0.8249 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.3772, allocations: 2.232 MB / 0.8271 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/0.378, allocations: 1.192 MB / 0.8283 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005242/0.3785, allocations: 176.2 kB / 0.8284 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3788, allocations: 95.41 kB / 0.8285 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.3788, allocations: 3.938 kB / 0.8285 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.02155/0.4003, allocations: 11.48 MB / 0.8397 GB, free: 2.938 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)