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.001315/0.001315, allocations: 101.4 kB / 15.7 MB, free: 28 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.001266/0.001266, allocations: 191.8 kB / 16.64 MB, free: 6.445 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.747/1.747, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001414/0.001414, allocations: 76.45 kB / 0.6719 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, 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.006358/0.2747, allocations: 4.531 MB / 0.7882 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.2787, allocations: 2.217 MB / 0.7903 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.2799, allocations: 23.94 kB / 0.7903 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.2805, allocations: 193.7 kB / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.2815, allocations: 233.8 kB / 0.7908 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.283, allocations: 0.5925 MB / 0.7913 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.2848, allocations: 1.616 MB / 0.7929 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.2864, allocations: 1.149 MB / 0.794 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008522/0.2872, allocations: 0.6187 MB / 0.7946 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.2882, allocations: 0.7504 MB / 0.7954 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.2884, allocations: 191.9 kB / 0.7956 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.2887, allocations: 204 kB / 0.7957 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.2891, allocations: 430.6 kB / 0.7962 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006945/0.2898, allocations: 0.7926 MB / 0.7969 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.2921, allocations: 2.545 MB / 0.7994 GB, free: 13 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2922, allocations: 0 / 0.7994 GB, free: 13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2922, allocations: 4 kB / 0.7994 GB, free: 13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.786e-05/0.2922, 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.003379/0.2956, allocations: 1.867 MB / 0.8012 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2957, allocations: 8.031 kB / 0.8013 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.2959, allocations: 232.3 kB / 0.8015 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.2962, allocations: 178.8 kB / 0.8016 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2973, allocations: 0.7949 MB / 0.8024 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.302e-05/0.2974, allocations: 131.5 kB / 0.8025 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.2976, allocations: 160.4 kB / 0.8027 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.2999, allocations: 1.346 MB / 0.804 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3, allocations: 3.984 kB / 0.804 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3001, allocations: 64 kB / 0.8041 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.3001, allocations: 36 kB / 0.8041 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.3025, allocations: 1.191 MB / 0.8053 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006629/0.3092, allocations: 4.07 MB / 0.8093 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.3111, allocations: 0.8039 MB / 0.81 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.3118, allocations: 326.6 kB / 0.8103 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.414e-05/0.3119, allocations: 8.656 kB / 0.8104 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009774/0.3129, allocations: 420.3 kB / 0.8108 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 4.599e-06/0.3129, allocations: 0 / 0.8108 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002669/0.3156, allocations: 1.038 MB / 0.8118 GB, free: 72 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.3157, allocations: 60.11 kB / 0.8118 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.3171, allocations: 1.037 MB / 0.8128 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3173, allocations: 45.7 kB / 0.8129 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/0.3179, allocations: 0.6861 MB / 0.8136 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.3181, allocations: 244.6 kB / 0.8138 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.3184, allocations: 170.6 kB / 0.814 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3186, allocations: 341.9 kB / 0.8143 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000841/0.3194, allocations: 377.8 kB / 0.8146 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.3204, allocations: 0.5475 MB / 0.8152 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.3221, allocations: 0.8539 MB / 0.816 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3221, allocations: 0 / 0.816 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002234/0.3243, allocations: 1.115 MB / 0.8171 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.3244, allocations: 41.62 kB / 0.8171 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3244, allocations: 4 kB / 0.8171 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.3245, allocations: 8 kB / 0.8171 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.3253, allocations: 191.7 kB / 0.8173 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.3254, allocations: 12 kB / 0.8173 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/0.3263, allocations: 194.4 kB / 0.8175 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.3264, allocations: 39.98 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.0005454/0.3269, allocations: 321.5 kB / 0.8179 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3271, allocations: 106.6 kB / 0.818 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.3289, allocations: 0.8285 MB / 0.8188 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3289, allocations: 8 kB / 0.8188 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3289, allocations: 0 / 0.8188 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3289, allocations: 3.984 kB / 0.8188 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.3325, allocations: 2.31 MB / 0.821 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3325, allocations: 4 kB / 0.8211 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.3332, allocations: 147.8 kB / 0.8212 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.3332, allocations: 8 kB / 0.8212 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.3332, allocations: 19.94 kB / 0.8212 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.3333, allocations: 16.3 kB / 0.8212 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.3333, allocations: 19.88 kB / 0.8213 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.335, allocations: 1.031 MB / 0.8223 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.3353, allocations: 211.5 kB / 0.8225 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.3354, allocations: 20 kB / 0.8225 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.336, allocations: 67.92 kB / 0.8225 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.3362, allocations: 104.1 kB / 0.8226 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.3363, allocations: 31.98 kB / 0.8227 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008751/0.3371, allocations: 0.7025 MB / 0.8234 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3371, allocations: 4 kB / 0.8234 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000863/0.338, allocations: 290.7 kB / 0.8236 GB, free: 3.449 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.002169/0.3402, allocations: 1.633 MB / 0.8252 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.3421, allocations: 0.9146 MB / 0.8261 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3422, allocations: 0 / 0.8261 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.3434, allocations: 0.5704 MB / 0.8267 GB, free: 236 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.3444, allocations: 199.2 kB / 0.8269 GB, free: 40 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.358, allocations: 8.683 MB / 0.8354 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/0.3589, allocations: 1.188 MB / 0.8365 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006213/0.3595, allocations: 192.2 kB / 0.8367 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/0.3602, allocations: 0.5266 MB / 0.8372 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/0.3602, allocations: 0 / 0.8372 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.4082, allocations: 19.67 MB / 0.8564 GB, free: 1.742 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/10.19, allocations: 7.953 kB / 0.8564 GB, free: 1.738 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --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)