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.0009719/0.000972, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0008961/0.0008961, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.155/1.155, allocations: 205.1 MB / 222 MB, free: 4.98 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.515/1.515, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001366/0.001366, allocations: 65.81 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 114.6 MB / 0.7829 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.005356/0.1789, allocations: 4.502 MB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1822, allocations: 2.146 MB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008196/0.183, allocations: 23.94 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.1836, allocations: 134.7 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.1842, allocations: 170.7 kB / 0.7897 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.1852, allocations: 0.5181 MB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1863, allocations: 1.491 MB / 0.7917 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.1874, allocations: 1.106 MB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.1878, allocations: 0.5327 MB / 0.7933 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.1883, allocations: 0.6957 MB / 0.7939 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.1885, allocations: 100 kB / 0.794 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1887, allocations: 112 kB / 0.7941 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1889, allocations: 350.6 kB / 0.7945 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.1894, allocations: 0.7066 MB / 0.7952 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1909, allocations: 2.359 MB / 0.7975 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1909, allocations: 4 kB / 0.7975 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.91e-07/0.1909, allocations: 4 kB / 0.7975 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.191, allocations: 0 / 0.7975 GB, free: 14.79 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.002548/0.1935, allocations: 1.875 MB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1936, allocations: 8.031 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.1938, allocations: 228.4 kB / 0.7995 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.194, allocations: 186.8 kB / 0.7997 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.195, allocations: 0.7948 MB / 0.8005 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.303e-05/0.1951, allocations: 123.5 kB / 0.8006 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1952, allocations: 168.4 kB / 0.8008 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.1974, allocations: 1.346 MB / 0.8021 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1974, allocations: 0 / 0.8021 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.1975, allocations: 64 kB / 0.8021 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.1975, allocations: 40 kB / 0.8022 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.1997, allocations: 1.187 MB / 0.8033 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.2051, allocations: 4.12 MB / 0.8074 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.2068, allocations: 0.8001 MB / 0.8081 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.2074, allocations: 334.6 kB / 0.8085 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.2075, allocations: 16.67 kB / 0.8085 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/0.2082, allocations: 408.2 kB / 0.8089 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 1.904e-06/0.2083, allocations: 0 / 0.8089 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002073/0.2103, allocations: 1.045 MB / 0.8099 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2104, allocations: 60.06 kB / 0.8099 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.2114, allocations: 1.037 MB / 0.811 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.2115, allocations: 49.64 kB / 0.811 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/0.2119, allocations: 0.6862 MB / 0.8117 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.2121, allocations: 232.6 kB / 0.8119 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.2124, allocations: 178.5 kB / 0.8121 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2125, allocations: 342 kB / 0.8124 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007581/0.2132, allocations: 373.8 kB / 0.8128 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.2141, allocations: 0.5503 MB / 0.8133 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.2155, allocations: 0.8539 MB / 0.8141 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2155, allocations: 0 / 0.8141 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001889/0.2174, allocations: 1.118 MB / 0.8152 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.2175, allocations: 40.36 kB / 0.8153 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2175, allocations: 4 kB / 0.8153 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2175, allocations: 8.344 kB / 0.8153 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.2183, allocations: 191.7 kB / 0.8154 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.2183, allocations: 8 kB / 0.8155 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.2191, allocations: 198.5 kB / 0.8156 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.2192, allocations: 32 kB / 0.8157 GB, free: 11.67 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.0003724/0.2196, allocations: 318.1 kB / 0.816 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2197, allocations: 106.6 kB / 0.8161 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.2213, allocations: 0.8402 MB / 0.8169 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2213, allocations: 4 kB / 0.8169 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2213, allocations: 0 / 0.8169 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2213, allocations: 7.984 kB / 0.8169 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.2244, allocations: 2.306 MB / 0.8192 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2244, allocations: 4 kB / 0.8192 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.225, allocations: 151.8 kB / 0.8193 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.225, allocations: 8 kB / 0.8193 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.2251, allocations: 19.98 kB / 0.8193 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.2251, allocations: 15.94 kB / 0.8194 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2251, allocations: 20.06 kB / 0.8194 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.2266, allocations: 1.031 MB / 0.8204 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2268, allocations: 219.6 kB / 0.8206 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2269, allocations: 20 kB / 0.8206 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.2275, allocations: 75.77 kB / 0.8207 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.2277, allocations: 108.1 kB / 0.8208 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.2278, allocations: 28 kB / 0.8208 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007795/0.2285, allocations: 0.7025 MB / 0.8215 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2285, allocations: 7.938 kB / 0.8215 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006699/0.2292, allocations: 294.7 kB / 0.8218 GB, free: 5.152 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.001924/0.2312, allocations: 1.63 MB / 0.8234 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.2328, allocations: 0.8991 MB / 0.8243 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2328, allocations: 0 / 0.8243 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.2339, allocations: 0.574 MB / 0.8248 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.2348, allocations: 176.7 kB / 0.825 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.2482, allocations: 9.703 MB / 0.8345 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.2489, allocations: 1.196 MB / 0.8356 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.2494, allocations: 180.2 kB / 0.8358 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/0.2501, allocations: 0.5188 MB / 0.8363 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.2501, allocations: 0 / 0.8363 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6206/0.8707, allocations: 18.54 MB / 0.8544 GB, free: 3.418 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003382/0.8711, allocations: 276.6 kB / 0.8547 GB, free: 3.059 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.933, allocations: 2.578 kB / 0.8547 GB, free: 3.059 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)