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.0006822/0.0006821, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0007306/0.0007306, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.519/1.519, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0004467/0.0004468, allocations: 13.06 kB / 0.6739 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 116.3 MB / 0.7875 GB, free: 11.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.003854/0.1834, allocations: 3.671 MB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003092/0.1865, allocations: 2.111 MB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.187, allocations: 20 kB / 0.7932 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1873, allocations: 126.6 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.1877, allocations: 162.8 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.1885, allocations: 424.5 kB / 0.7939 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1897, allocations: 1.413 MB / 0.7952 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1907, allocations: 0.8738 MB / 0.7961 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.1911, allocations: 369.9 kB / 0.7964 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.1914, allocations: 477 kB / 0.7969 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.1915, allocations: 40 kB / 0.7969 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1916, allocations: 55.98 kB / 0.797 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.1918, allocations: 230.9 kB / 0.7972 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.192, allocations: 256.8 kB / 0.7974 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1933, allocations: 1.952 MB / 0.7994 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1933, allocations: 0 / 0.7994 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1933, allocations: 0 / 0.7994 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.1933, allocations: 0 / 0.7994 GB, free: 15.48 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.00218/0.1955, allocations: 1.614 MB / 0.8009 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1955, allocations: 11.97 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.1957, allocations: 228.2 kB / 0.8012 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.1959, allocations: 193.7 kB / 0.8013 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/0.1969, allocations: 0.7629 MB / 0.8021 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.197, allocations: 127.2 kB / 0.8022 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.1971, allocations: 156 kB / 0.8024 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.1992, allocations: 1.361 MB / 0.8037 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1993, allocations: 3.938 kB / 0.8037 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.1994, allocations: 64 kB / 0.8038 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.1994, allocations: 40 kB / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.2015, allocations: 1.227 MB / 0.805 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/0.207, allocations: 4.136 MB / 0.809 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.2087, allocations: 0.8728 MB / 0.8099 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/0.2093, allocations: 354.6 kB / 0.8102 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.2094, allocations: 8.656 kB / 0.8102 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.2102, allocations: 444.2 kB / 0.8107 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.2102, allocations: 0 / 0.8107 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002051/0.2122, allocations: 1.11 MB / 0.8117 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2123, allocations: 68 kB / 0.8118 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2134, allocations: 1.029 MB / 0.8128 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.2134, allocations: 49.69 kB / 0.8129 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.2139, allocations: 0.6823 MB / 0.8135 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.214, allocations: 236.5 kB / 0.8137 GB, free: 428 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.2141, allocations: 24 kB / 0.8138 GB, free: 404 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2142, allocations: 337.9 kB / 0.8141 GB, free: 60 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.215, allocations: 401.8 kB / 0.8145 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.2158, allocations: 0.5637 MB / 0.815 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.2166, allocations: 480.4 kB / 0.8155 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2166, allocations: 3.984 kB / 0.8155 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001904/0.2185, allocations: 1.158 MB / 0.8166 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.2186, allocations: 45.62 kB / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2186, allocations: 4 kB / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2186, allocations: 8 kB / 0.8167 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.2194, allocations: 203.7 kB / 0.8169 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.2194, allocations: 8 kB / 0.8169 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/0.2202, allocations: 226.5 kB / 0.8171 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.2202, allocations: 43.92 kB / 0.8171 GB, free: 12.86 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,zon1.nOcc,$PRE.zon1.hys.y,zon1.hys.y,zon2.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon3.nOcc,$PRE.zon3.hys.y,zon3.hys.y,$PRE.ahu1.hys1.y,ahu1.hys1.y,$PRE.winSta1.y,winSta1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.2207, allocations: 321.2 kB / 0.8174 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2208, allocations: 110.6 kB / 0.8175 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.2223, allocations: 0.8792 MB / 0.8184 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2224, allocations: 8 kB / 0.8184 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2224, allocations: 7.938 kB / 0.8184 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2224, allocations: 8.016 kB / 0.8184 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.2254, allocations: 2.357 MB / 0.8207 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2255, allocations: 4 kB / 0.8207 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.226, allocations: 159.8 kB / 0.8209 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.2261, allocations: 11.98 kB / 0.8209 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.2261, allocations: 24.06 kB / 0.8209 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.2261, allocations: 15.92 kB / 0.8209 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2261, allocations: 8 kB / 0.8209 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.2276, allocations: 1.093 MB / 0.822 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2278, allocations: 207.5 kB / 0.8222 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2279, allocations: 24 kB / 0.8222 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.2285, allocations: 95.77 kB / 0.8223 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.2287, allocations: 108.2 kB / 0.8224 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.2287, allocations: 27.98 kB / 0.8224 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007514/0.2295, allocations: 0.6869 MB / 0.8231 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2295, allocations: 0 / 0.8231 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007105/0.2302, allocations: 286.8 kB / 0.8234 GB, free: 6.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/0.2321, allocations: 1.688 MB / 0.825 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.2337, allocations: 0.9506 MB / 0.826 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2337, allocations: 0 / 0.826 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.2348, allocations: 0.5932 MB / 0.8266 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.2357, allocations: 183 kB / 0.8267 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.246, allocations: 7.248 MB / 0.8338 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.2467, allocations: 1.188 MB / 0.835 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005564/0.2473, allocations: 184.2 kB / 0.8351 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/0.2479, allocations: 0.5215 MB / 0.8356 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.2479, allocations: 0 / 0.8356 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.281, allocations: 20.48 MB / 0.8557 GB, free: 5.016 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.2812, allocations: 255.5 kB / 0.8559 GB, free: 4.684 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.159, allocations: 0 / 0.8559 GB, free: 4.684 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/linux/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) Environment - environmentSimulation: