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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001622, 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.001446/0.001446, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.523/1.523, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.728/1.728, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00147/0.00147, allocations: 73.91 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2814, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.007369/0.2889, allocations: 4.523 MB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.2925, allocations: 2.213 MB / 0.7902 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.2933, allocations: 23.94 kB / 0.7902 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.2939, allocations: 193.7 kB / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006891/0.2946, allocations: 233.8 kB / 0.7906 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.2958, allocations: 0.5963 MB / 0.7912 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.2974, allocations: 1.608 MB / 0.7927 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.2988, allocations: 1.149 MB / 0.7939 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.2994, allocations: 0.6188 MB / 0.7945 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.3001, allocations: 0.7464 MB / 0.7952 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.3003, allocations: 188 kB / 0.7954 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.3006, allocations: 200 kB / 0.7956 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.3009, allocations: 430.6 kB / 0.796 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.3016, allocations: 0.8003 MB / 0.7968 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.3037, allocations: 2.433 MB / 0.7991 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3037, allocations: 0 / 0.7991 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3037, allocations: 0 / 0.7991 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.322e-05/0.3037, allocations: 4 kB / 0.7991 GB, free: 13.23 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.003384/0.3071, allocations: 1.877 MB / 0.801 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.3072, allocations: 12.03 kB / 0.801 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002542/0.3074, allocations: 232.3 kB / 0.8012 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3077, allocations: 178.8 kB / 0.8014 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3089, allocations: 0.8026 MB / 0.8022 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3091, allocations: 123.5 kB / 0.8023 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.3093, allocations: 160.4 kB / 0.8024 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.3116, allocations: 1.346 MB / 0.8037 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.3117, allocations: 4 kB / 0.8038 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3118, allocations: 64 kB / 0.8038 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.3118, allocations: 36 kB / 0.8038 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.3142, allocations: 1.191 MB / 0.805 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.3203, allocations: 4.12 MB / 0.809 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.3222, allocations: 0.804 MB / 0.8098 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.3229, allocations: 326.6 kB / 0.8101 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.323, allocations: 16.64 kB / 0.8101 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008607/0.3239, allocations: 404.2 kB / 0.8105 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 3.065e-06/0.3239, allocations: 8 kB / 0.8105 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002488/0.3264, allocations: 1.045 MB / 0.8116 GB, free: 240 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3264, allocations: 60.06 kB / 0.8116 GB, free: 164 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3278, allocations: 1.029 MB / 0.8126 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.3279, allocations: 45.7 kB / 0.8127 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.3284, allocations: 0.69 MB / 0.8133 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.3286, allocations: 240.6 kB / 0.8136 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.3289, allocations: 178.5 kB / 0.8137 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3291, allocations: 337.9 kB / 0.8141 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008274/0.3299, allocations: 373.8 kB / 0.8144 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.3309, allocations: 0.5475 MB / 0.815 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.3325, allocations: 0.8539 MB / 0.8158 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.3325, allocations: 4 kB / 0.8158 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002233/0.3348, allocations: 1.11 MB / 0.8169 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.3349, allocations: 41.69 kB / 0.8169 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3349, allocations: 4.5 kB / 0.8169 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3349, allocations: 12 kB / 0.8169 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.3357, allocations: 187.7 kB / 0.8171 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.3357, allocations: 8 kB / 0.8171 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.3366, allocations: 194.4 kB / 0.8173 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.3367, allocations: 39.98 kB / 0.8173 GB, free: 10.11 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.0005379/0.3372, allocations: 317.5 kB / 0.8176 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3374, allocations: 110.6 kB / 0.8177 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.3392, allocations: 0.8324 MB / 0.8186 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3392, allocations: 15.98 kB / 0.8186 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3392, allocations: 3.984 kB / 0.8186 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3392, allocations: 3.984 kB / 0.8186 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.3426, allocations: 2.302 MB / 0.8208 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3426, allocations: 8 kB / 0.8208 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.3433, allocations: 147.7 kB / 0.821 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.3433, allocations: 8 kB / 0.821 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.3433, allocations: 24 kB / 0.821 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.3433, allocations: 11.98 kB / 0.821 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.3434, allocations: 11.88 kB / 0.821 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.345, allocations: 1.035 MB / 0.822 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.3453, allocations: 211.5 kB / 0.8222 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3454, allocations: 27.94 kB / 0.8223 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.346, allocations: 59.92 kB / 0.8223 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.3462, allocations: 108.1 kB / 0.8224 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.3463, allocations: 27.98 kB / 0.8225 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008538/0.3471, allocations: 0.7025 MB / 0.8231 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3471, allocations: 3.938 kB / 0.8232 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008019/0.3479, allocations: 298.7 kB / 0.8234 GB, free: 3.609 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.002255/0.3502, allocations: 1.625 MB / 0.825 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.3523, allocations: 0.9575 MB / 0.826 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3523, allocations: 0 / 0.826 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.3536, allocations: 0.5784 MB / 0.8265 GB, free: 360 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.3545, allocations: 184.8 kB / 0.8267 GB, free: 176 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.3682, allocations: 9.164 MB / 0.8356 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/0.3691, allocations: 1.188 MB / 0.8368 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006035/0.3697, allocations: 188.2 kB / 0.837 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/0.3704, allocations: 0.5266 MB / 0.8375 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of SimCode: time 1.162e-06/0.3704, allocations: 0 / 0.8375 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04609/0.4165, allocations: 19.67 MB / 0.8567 GB, free: 1.203 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.647, allocations: 12.05 kB / 0.8567 GB, free: 1.195 MB / 0.67 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)