Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_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_9_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.001276/0.001276, 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.001188/0.001188, allocations: 189.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.8123 GB, free: 14.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5238, allocations: 140.4 MB / 0.9493 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.004775/0.5286, allocations: 4.365 MB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.5317, allocations: 2.092 MB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000689/0.5324, allocations: 22.66 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.5328, allocations: 128.7 kB / 0.9558 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.5333, allocations: 152.2 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.5341, allocations: 0.5004 MB / 0.9564 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000994/0.5351, allocations: 1.527 MB / 0.9579 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5362, allocations: 1.117 MB / 0.959 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.5366, allocations: 0.5881 MB / 0.9596 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.537, allocations: 0.7089 MB / 0.9603 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.5373, allocations: 178.7 kB / 0.9604 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.5375, allocations: 196.3 kB / 0.9606 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.5378, allocations: 414.1 kB / 0.961 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.5382, allocations: 0.754 MB / 0.9617 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.5399, allocations: 2.304 MB / 0.964 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5399, allocations: 0 / 0.964 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5399, allocations: 3.938 kB / 0.964 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.5399, allocations: 0 / 0.964 GB, free: 13.79 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.002548/0.5425, allocations: 1.752 MB / 0.9657 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5425, allocations: 13.62 kB / 0.9657 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.5428, allocations: 227.8 kB / 0.9659 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.543, allocations: 172.7 kB / 0.9661 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/0.5439, allocations: 0.7103 MB / 0.9668 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.544, allocations: 123.5 kB / 0.9669 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.5442, allocations: 157.5 kB / 0.9671 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.5465, allocations: 1.321 MB / 0.9684 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.5465, allocations: 0 / 0.9684 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.5466, allocations: 64.44 kB / 0.9684 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.5467, allocations: 37.81 kB / 0.9685 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.5489, allocations: 1.159 MB / 0.9696 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005669/0.5546, allocations: 3.992 MB / 0.9735 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.5564, allocations: 1.013 MB / 0.9745 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.5571, allocations: 352.6 kB / 0.9748 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.497e-05/0.5572, allocations: 13.62 kB / 0.9748 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008228/0.558, allocations: 389.6 kB / 0.9752 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.285e-06/0.558, allocations: 5.281 kB / 0.9752 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002155/0.5602, allocations: 0.9932 MB / 0.9762 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5602, allocations: 64.25 kB / 0.9762 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5613, allocations: 0.9428 MB / 0.9772 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.5614, allocations: 45.69 kB / 0.9772 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.5618, allocations: 0.6585 MB / 0.9778 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.5619, allocations: 232.7 kB / 0.9781 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.5622, allocations: 178.5 kB / 0.9782 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5623, allocations: 334 kB / 0.9786 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.5631, allocations: 353.8 kB / 0.9789 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.564, allocations: 0.5194 MB / 0.9794 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.5655, allocations: 0.8183 MB / 0.9802 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5655, allocations: 0 / 0.9802 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001933/0.5674, allocations: 1.068 MB / 0.9812 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.5675, allocations: 41.69 kB / 0.9813 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5675, allocations: 4 kB / 0.9813 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5675, allocations: 8 kB / 0.9813 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.5683, allocations: 196 kB / 0.9815 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.5683, allocations: 11.94 kB / 0.9815 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007865/0.5691, allocations: 190.5 kB / 0.9817 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.5692, allocations: 39.92 kB / 0.9817 GB, free: 192 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 20 ($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,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 (106): * Single equations (assignments): 105 * 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.0003895/0.5696, allocations: 307.5 kB / 0.982 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5697, allocations: 98.72 kB / 0.9821 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5713, allocations: 0.8001 MB / 0.9829 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5713, allocations: 4 kB / 0.9829 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5713, allocations: 4 kB / 0.9829 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5713, allocations: 3.984 kB / 0.9829 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.5746, allocations: 2.266 MB / 0.9851 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5747, allocations: 8 kB / 0.9851 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.5753, allocations: 147.7 kB / 0.9852 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.5753, allocations: 8 kB / 0.9853 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.5753, allocations: 20.53 kB / 0.9853 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.5753, allocations: 15.98 kB / 0.9853 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5754, allocations: 11.94 kB / 0.9853 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5769, allocations: 0.9989 MB / 0.9863 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.5771, allocations: 207.6 kB / 0.9865 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5772, allocations: 24 kB / 0.9865 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.5778, allocations: 67.92 kB / 0.9866 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.578, allocations: 100.2 kB / 0.9867 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.578, allocations: 27.94 kB / 0.9867 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006864/0.5787, allocations: 0.6449 MB / 0.9873 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5787, allocations: 0 / 0.9873 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000653/0.5794, allocations: 286.7 kB / 0.9876 GB, free: 9.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,zon1.nOcc,zon1.hys.y,zon2.nOcc,zon2.hys.y,zon3.nOcc,zon3.hys.y,winSta1.y) * Number of discrete states: 3 (zon3.hys.y,zon2.hys.y,zon1.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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.001891/0.5813, allocations: 1.592 MB / 0.9891 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.5831, allocations: 0.9146 MB / 0.99 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5831, allocations: 1 kB / 0.99 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5843, allocations: 0.5451 MB / 0.9906 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.5852, allocations: 188.2 kB / 0.9907 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.5974, allocations: 9.094 MB / 0.9996 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.598, allocations: 1.146 MB / 1.001 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004785/0.5985, allocations: 171.5 kB / 1.001 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.5991, allocations: 0.4915 MB / 1.001 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of SimCode: time 2.51e-07/0.5991, allocations: 0 / 1.001 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.342/1.941, allocations: 17.84 MB / 1.019 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/1.941, allocations: 268.6 kB / 1.019 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/4.086, allocations: 4.719 kB / 1.019 GB, free: 9.312 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)