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.001553/0.001553, allocations: 105.4 kB / 15.7 MB, free: 24 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.001411/0.001411, allocations: 197.2 kB / 16.64 MB, free: 6.453 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.586 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.643/1.643, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001444/0.001444, allocations: 73.75 kB / 0.6719 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2441, allocations: 114.5 MB / 0.7837 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.006069/0.2503, allocations: 4.535 MB / 0.7882 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004001/0.2543, allocations: 2.213 MB / 0.7903 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009831/0.2553, allocations: 19.94 kB / 0.7903 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.2559, allocations: 201.6 kB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007082/0.2566, allocations: 225.8 kB / 0.7908 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2579, allocations: 0.6049 MB / 0.7913 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.2593, allocations: 1.616 MB / 0.7929 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.2606, allocations: 1.137 MB / 0.794 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006404/0.2613, allocations: 0.6226 MB / 0.7946 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/0.2619, allocations: 0.7542 MB / 0.7954 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.2622, allocations: 188 kB / 0.7956 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.2624, allocations: 200 kB / 0.7957 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.2627, allocations: 438.6 kB / 0.7962 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.2633, allocations: 0.7965 MB / 0.7969 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.2654, allocations: 2.537 MB / 0.7994 GB, free: 13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2655, allocations: 3.938 kB / 0.7994 GB, free: 13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2655, allocations: 0 / 0.7994 GB, free: 13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.749e-05/0.2655, allocations: 0 / 0.7994 GB, free: 13 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.003028/0.2685, allocations: 1.879 MB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.2686, allocations: 8.031 kB / 0.8013 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.2688, allocations: 224.4 kB / 0.8015 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.2691, allocations: 182.8 kB / 0.8017 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2701, allocations: 0.7988 MB / 0.8024 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/0.2703, allocations: 123.5 kB / 0.8026 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.2704, allocations: 160.4 kB / 0.8027 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.2726, allocations: 1.346 MB / 0.804 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.2727, allocations: 4 kB / 0.804 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2728, allocations: 64 kB / 0.8041 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.2728, allocations: 43.98 kB / 0.8041 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.275, allocations: 1.184 MB / 0.8053 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005753/0.2808, allocations: 4.062 MB / 0.8092 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.2826, allocations: 0.804 MB / 0.81 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.2833, allocations: 330.6 kB / 0.8103 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.2834, allocations: 16.62 kB / 0.8104 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008322/0.2842, allocations: 420.2 kB / 0.8108 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.404e-06/0.2843, allocations: 0 / 0.8108 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002256/0.2865, allocations: 1.038 MB / 0.8118 GB, free: 64 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.2866, allocations: 60.11 kB / 0.8118 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.2877, allocations: 1.033 MB / 0.8128 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.2878, allocations: 53.62 kB / 0.8129 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.2883, allocations: 0.6823 MB / 0.8136 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.2884, allocations: 240.6 kB / 0.8138 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.2887, allocations: 174.5 kB / 0.814 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2888, allocations: 341.9 kB / 0.8143 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/0.2896, allocations: 373.8 kB / 0.8146 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/0.2905, allocations: 0.5436 MB / 0.8152 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.2921, allocations: 0.8539 MB / 0.816 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2921, allocations: 4 kB / 0.816 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002029/0.2941, allocations: 1.119 MB / 0.8171 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.2942, allocations: 33.7 kB / 0.8171 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2942, allocations: 7.984 kB / 0.8171 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2942, allocations: 11.94 kB / 0.8172 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/0.295, allocations: 191.8 kB / 0.8173 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.295, allocations: 11.98 kB / 0.8173 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.2959, allocations: 194.4 kB / 0.8175 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.296, allocations: 32 kB / 0.8176 GB, free: 9.934 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.000485/0.2965, allocations: 326.1 kB / 0.8179 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.2966, allocations: 110.6 kB / 0.818 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.2983, allocations: 0.8285 MB / 0.8188 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2984, allocations: 8 kB / 0.8188 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2984, allocations: 0 / 0.8188 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2984, allocations: 3.984 kB / 0.8188 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.3017, allocations: 2.306 MB / 0.8211 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3018, allocations: 8 kB / 0.8211 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.3024, allocations: 148.5 kB / 0.8212 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.3024, allocations: 12 kB / 0.8212 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.3025, allocations: 23.98 kB / 0.8212 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.3025, allocations: 11.94 kB / 0.8212 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.3025, allocations: 15.88 kB / 0.8213 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3041, allocations: 1.027 MB / 0.8223 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3044, allocations: 211.5 kB / 0.8225 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3045, allocations: 28 kB / 0.8225 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.3051, allocations: 63.92 kB / 0.8226 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3053, allocations: 112.1 kB / 0.8227 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.3053, allocations: 27.98 kB / 0.8227 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008208/0.3061, allocations: 0.6947 MB / 0.8234 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3062, allocations: 0 / 0.8234 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008176/0.307, allocations: 298.7 kB / 0.8237 GB, free: 3.441 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.002106/0.3091, allocations: 1.63 MB / 0.8252 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.311, allocations: 0.9116 MB / 0.8261 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.311, allocations: 4 kB / 0.8261 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.3122, allocations: 0.5698 MB / 0.8267 GB, free: 232 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.3131, allocations: 184.2 kB / 0.8269 GB, free: 48 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.3257, allocations: 8.691 MB / 0.8354 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.3265, allocations: 1.188 MB / 0.8365 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005717/0.3271, allocations: 188.2 kB / 0.8367 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/0.3277, allocations: 0.5227 MB / 0.8372 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.3277, allocations: 0 / 0.8372 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.3682, allocations: 19.68 MB / 0.8564 GB, free: 1.738 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.633/10, allocations: 12.33 kB / 0.8564 GB, free: 1.73 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)