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.001083/0.001083, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001158/0.001158, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.492/1.492, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.777/1.777, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.002062/0.002062, allocations: 65.31 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.00796/0.3401, allocations: 4.499 MB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005062/0.3452, allocations: 2.135 MB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.3469, allocations: 23.94 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.3479, allocations: 134.7 kB / 0.7896 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.3494, allocations: 170.7 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.3513, allocations: 0.5142 MB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.3542, allocations: 1.612 MB / 0.7918 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.3567, allocations: 1.141 MB / 0.7929 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3579, allocations: 0.6265 MB / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.359, allocations: 0.7543 MB / 0.7943 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000576/0.3596, allocations: 188 kB / 0.7945 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.3601, allocations: 200 kB / 0.7947 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.3605, allocations: 430.6 kB / 0.7951 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008748/0.3614, allocations: 0.7926 MB / 0.7958 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.364, allocations: 2.437 MB / 0.7982 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.364, allocations: 3.984 kB / 0.7982 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.086e-06/0.364, allocations: 0 / 0.7982 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.866e-05/0.3641, allocations: 0 / 0.7982 GB, free: 14.08 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.003715/0.3678, allocations: 1.871 MB / 0.8001 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.3679, allocations: 19.97 kB / 0.8001 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.3682, allocations: 182.7 kB / 0.8002 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.3695, allocations: 0.7949 MB / 0.801 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.3696, allocations: 123.5 kB / 0.8011 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.3698, allocations: 160.4 kB / 0.8013 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.3723, allocations: 1.35 MB / 0.8026 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.3724, allocations: 3.938 kB / 0.8026 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.3725, allocations: 68 kB / 0.8027 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.3725, allocations: 36 kB / 0.8027 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.3748, allocations: 1.188 MB / 0.8039 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006658/0.3815, allocations: 4.11 MB / 0.8079 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.3834, allocations: 0.804 MB / 0.8087 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.3841, allocations: 334.5 kB / 0.809 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.3842, allocations: 12.64 kB / 0.809 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009125/0.3851, allocations: 416.2 kB / 0.8094 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 1.405e-05/0.3851, allocations: 0 / 0.8094 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002531/0.3876, allocations: 1.041 MB / 0.8104 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3877, allocations: 64.06 kB / 0.8105 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.3892, allocations: 1.033 MB / 0.8115 GB, free: 208 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.3893, allocations: 49.69 kB / 0.8115 GB, free: 152 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/0.3899, allocations: 0.6861 MB / 0.8122 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.3901, allocations: 240.6 kB / 0.8124 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.3904, allocations: 174.5 kB / 0.8126 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3906, allocations: 337.9 kB / 0.8129 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/0.3914, allocations: 377.8 kB / 0.8133 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.3925, allocations: 0.5521 MB / 0.8138 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.3942, allocations: 0.8461 MB / 0.8146 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3942, allocations: 0 / 0.8146 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002315/0.3965, allocations: 1.115 MB / 0.8157 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.981e-05/0.3966, allocations: 37.7 kB / 0.8158 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3967, allocations: 4 kB / 0.8158 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/0.3967, allocations: 8 kB / 0.8158 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.3976, allocations: 191.7 kB / 0.816 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.3976, allocations: 11.94 kB / 0.816 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/0.3986, allocations: 198.4 kB / 0.8162 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.923e-05/0.3987, allocations: 32 kB / 0.8162 GB, free: 11.21 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.0006873/0.3994, allocations: 325.9 kB / 0.8165 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.3996, allocations: 114.6 kB / 0.8166 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.4014, allocations: 0.8246 MB / 0.8174 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4015, allocations: 11.94 kB / 0.8174 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4015, allocations: 0 / 0.8174 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4015, allocations: 7.984 kB / 0.8174 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.4053, allocations: 2.306 MB / 0.8197 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4053, allocations: 8 kB / 0.8197 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.4059, allocations: 147.8 kB / 0.8198 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.4059, allocations: 8 kB / 0.8198 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.406, allocations: 31.98 kB / 0.8199 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.406, allocations: 8 kB / 0.8199 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.406, allocations: 7.938 kB / 0.8199 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.4077, allocations: 1.05 MB / 0.8209 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.408, allocations: 207.5 kB / 0.8211 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4081, allocations: 27.98 kB / 0.8211 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.4086, allocations: 67.78 kB / 0.8212 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.4089, allocations: 108.1 kB / 0.8213 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.4089, allocations: 35.98 kB / 0.8213 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008584/0.4098, allocations: 0.6947 MB / 0.822 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4098, allocations: 0 / 0.822 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000951/0.4108, allocations: 290.7 kB / 0.8223 GB, free: 4.684 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.0003195/0.4111, allocations: 147 kB / 0.8224 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.4132, allocations: 0.9536 MB / 0.8234 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.4132, allocations: 1 kB / 0.8234 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4144, allocations: 0.5725 MB / 0.8239 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.4156, allocations: 188.3 kB / 0.8241 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.4196, allocations: 2.798 MB / 0.8268 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.4204, allocations: 1.188 MB / 0.828 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000601/0.421, allocations: 188.2 kB / 0.8282 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.4213, allocations: 87.42 kB / 0.8283 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.4213, allocations: 0 / 0.8283 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.02307/0.4444, allocations: 11 MB / 0.839 GB, free: 3.586 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)