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.001295/0.001295, 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.001435/0.001435, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.169/1.169, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.505/1.505, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001271/0.001271, allocations: 67.95 kB / 0.6712 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1685, allocations: 114.6 MB / 0.7831 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.004977/0.1735, allocations: 4.501 MB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1758, allocations: 2.143 MB / 0.7896 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.1762, allocations: 20 kB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1765, allocations: 134.6 kB / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.177, allocations: 162.8 kB / 0.7899 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.1778, allocations: 0.5227 MB / 0.7904 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.1789, allocations: 1.612 MB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.1801, allocations: 1.141 MB / 0.7931 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.1805, allocations: 0.6187 MB / 0.7937 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.181, allocations: 0.7581 MB / 0.7944 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.1812, allocations: 188 kB / 0.7946 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1814, allocations: 196 kB / 0.7948 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.1817, allocations: 434.6 kB / 0.7952 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004704/0.1822, allocations: 0.8004 MB / 0.796 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.1837, allocations: 2.433 MB / 0.7983 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1837, allocations: 0 / 0.7983 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1837, allocations: 4 kB / 0.7983 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.1837, allocations: 0 / 0.7983 GB, free: 13.95 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.002483/0.1862, allocations: 1.875 MB / 0.8002 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1863, allocations: 12.03 kB / 0.8002 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.1865, allocations: 228.3 kB / 0.8004 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.1867, allocations: 178.8 kB / 0.8006 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.1876, allocations: 0.7948 MB / 0.8014 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.1877, allocations: 131.5 kB / 0.8015 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.1879, allocations: 160.4 kB / 0.8016 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.19, allocations: 1.342 MB / 0.8029 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.1901, allocations: 4 kB / 0.8029 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/0.1902, allocations: 64 kB / 0.803 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.1902, allocations: 36 kB / 0.803 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.1923, allocations: 1.195 MB / 0.8042 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00525/0.1975, allocations: 4.116 MB / 0.8082 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.1992, allocations: 0.8079 MB / 0.809 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.1999, allocations: 322.6 kB / 0.8093 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.1999, allocations: 16.64 kB / 0.8093 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007682/0.2007, allocations: 416.2 kB / 0.8097 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.2007, allocations: 4 kB / 0.8097 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002064/0.2028, allocations: 1.041 MB / 0.8108 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2028, allocations: 64.05 kB / 0.8108 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2039, allocations: 1.033 MB / 0.8118 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.2039, allocations: 41.7 kB / 0.8119 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.2044, allocations: 0.69 MB / 0.8125 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.2045, allocations: 236.7 kB / 0.8128 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.2048, allocations: 178.5 kB / 0.8129 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.2049, allocations: 337.9 kB / 0.8133 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/0.2056, allocations: 373.8 kB / 0.8136 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.2065, allocations: 0.556 MB / 0.8142 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2079, allocations: 0.85 MB / 0.815 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2079, allocations: 0 / 0.815 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001881/0.2098, allocations: 1.111 MB / 0.8161 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.2099, allocations: 41.69 kB / 0.8161 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2099, allocations: 4 kB / 0.8161 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2099, allocations: 8.406 kB / 0.8161 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.2107, allocations: 195.7 kB / 0.8163 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.2107, allocations: 11.94 kB / 0.8163 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.2115, allocations: 194.4 kB / 0.8165 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.2116, allocations: 40.03 kB / 0.8166 GB, free: 10.83 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.0003588/0.2119, allocations: 317.5 kB / 0.8169 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.212, allocations: 110.6 kB / 0.817 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2136, allocations: 0.8324 MB / 0.8178 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.2136, allocations: 8 kB / 0.8178 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2136, allocations: 0 / 0.8178 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2136, allocations: 3.984 kB / 0.8178 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.2166, allocations: 2.306 MB / 0.82 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.2166, allocations: 8 kB / 0.82 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.2172, allocations: 147.7 kB / 0.8202 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.2173, allocations: 8 kB / 0.8202 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.2173, allocations: 24 kB / 0.8202 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.2173, allocations: 11.98 kB / 0.8202 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.2173, allocations: 12.19 kB / 0.8202 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.2188, allocations: 1.039 MB / 0.8213 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.219, allocations: 211.5 kB / 0.8215 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2191, allocations: 24 kB / 0.8215 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.2197, allocations: 79.77 kB / 0.8216 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.2199, allocations: 108.1 kB / 0.8217 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.2199, allocations: 31.94 kB / 0.8217 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007058/0.2206, allocations: 0.7064 MB / 0.8224 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.2206, allocations: 0 / 0.8224 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006041/0.2213, allocations: 294.7 kB / 0.8227 GB, free: 4.316 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.001863/0.2231, allocations: 1.626 MB / 0.8242 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.2249, allocations: 0.9497 MB / 0.8252 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2249, allocations: 4 kB / 0.8252 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.226, allocations: 0.57 MB / 0.8257 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.2269, allocations: 195.6 kB / 0.8259 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.2392, allocations: 9.705 MB / 0.8354 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.2398, allocations: 1.184 MB / 0.8366 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004903/0.2403, allocations: 184.2 kB / 0.8367 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/0.2409, allocations: 0.5266 MB / 0.8372 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2409, allocations: 0 / 0.8372 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.61/2.851, allocations: 19.08 MB / 0.8559 GB, free: 2.004 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/2.852, allocations: 277.3 kB / 0.8561 GB, free: 1.645 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/5.245, allocations: 0 / 0.8561 GB, free: 1.645 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)