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.007516/0.007516, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001195/0.001195, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.955/1.955, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.89 kB / 0.9505 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6299, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.004266/0.6342, allocations: 4.391 MB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.6365, allocations: 2.158 MB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.6368, allocations: 23.66 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.6372, allocations: 193.1 kB / 1.094 GB, free: 260 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.6377, allocations: 220.6 kB / 1.094 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.6386, allocations: 0.569 MB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.6399, allocations: 1.538 MB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.6413, allocations: 1.112 MB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.6418, allocations: 0.5872 MB / 1.098 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.6424, allocations: 0.709 MB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.6426, allocations: 181.7 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.6428, allocations: 197.2 kB / 1.099 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.6432, allocations: 418.3 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.6437, allocations: 0.7514 MB / 1.1 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.6458, allocations: 2.4 MB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6458, allocations: 0.5156 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6458, allocations: 1.562 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.6458, allocations: 3.938 kB / 1.103 GB, free: 11.95 MB / 0.8731 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.002564/0.6484, allocations: 1.749 MB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6484, allocations: 13.34 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/0.6487, allocations: 227.2 kB / 1.105 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.649, allocations: 171.6 kB / 1.105 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009482/0.6499, allocations: 0.7124 MB / 1.105 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-05/0.65, allocations: 123.4 kB / 1.106 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.6502, allocations: 163 kB / 1.106 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.6524, allocations: 1.317 MB / 1.107 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.6524, allocations: 0 / 1.107 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.6525, allocations: 64.19 kB / 1.107 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.6526, allocations: 39.42 kB / 1.107 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.6548, allocations: 1.153 MB / 1.108 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.6605, allocations: 3.944 MB / 1.112 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.6624, allocations: 1.004 MB / 1.113 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.6631, allocations: 359.4 kB / 1.113 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.6632, allocations: 17.06 kB / 1.113 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/0.664, allocations: 399.8 kB / 1.114 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=72): time 3.887e-06/0.664, allocations: 5.547 kB / 1.114 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=72): time 0.00216/0.6662, allocations: 0.9807 MB / 1.115 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.6662, allocations: 64.75 kB / 1.115 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6673, allocations: 0.9464 MB / 1.116 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.6673, allocations: 44.22 kB / 1.116 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.6678, allocations: 0.6499 MB / 1.116 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.6679, allocations: 236.2 kB / 1.117 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.6682, allocations: 173.8 kB / 1.117 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6683, allocations: 341.1 kB / 1.117 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/0.6691, allocations: 358.3 kB / 1.117 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/0.6699, allocations: 0.5232 MB / 1.118 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.6714, allocations: 0.8177 MB / 1.119 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6714, allocations: 1.281 kB / 1.119 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001956/0.6734, allocations: 1.073 MB / 1.12 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.6734, allocations: 39.16 kB / 1.12 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6734, allocations: 3.75 kB / 1.12 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6734, allocations: 8.438 kB / 1.12 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.6742, allocations: 193.2 kB / 1.12 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.6742, allocations: 14.12 kB / 1.12 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/0.6749, allocations: 181.7 kB / 1.12 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.675, allocations: 37.23 kB / 1.12 GB, free: 2.863 MB / 0.8731 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.0003656/0.6754, allocations: 307.7 kB / 1.121 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6755, allocations: 103.7 kB / 1.121 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.6771, allocations: 0.7903 MB / 1.121 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6772, allocations: 7.062 kB / 1.121 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6772, allocations: 0 / 1.121 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6772, allocations: 3.75 kB / 1.121 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.6807, allocations: 2.273 MB / 1.124 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6807, allocations: 5.5 kB / 1.124 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.6813, allocations: 150.2 kB / 1.124 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6813, allocations: 7.906 kB / 1.124 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.6813, allocations: 20.27 kB / 1.124 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.6813, allocations: 13.33 kB / 1.124 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.6813, allocations: 6.75 kB / 1.124 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6829, allocations: 1.007 MB / 1.125 GB, free: 500 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.6831, allocations: 203.3 kB / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.6832, allocations: 25.28 kB / 1.125 GB, free: 308 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.6837, allocations: 57.11 kB / 1.125 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.6839, allocations: 102.2 kB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.684, allocations: 31.73 kB / 1.125 GB, free: 256 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007414/0.6847, allocations: 0.6387 MB / 1.126 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6847, allocations: 0 / 1.126 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006526/0.6854, allocations: 289.6 kB / 1.126 GB, free: 15.88 MB / 0.8887 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.001924/0.6873, allocations: 1.583 MB / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.6891, allocations: 0.8762 MB / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6891, allocations: 1.375 kB / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.6903, allocations: 0.5409 MB / 1.129 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.6911, allocations: 187.6 kB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.7024, allocations: 8.168 MB / 1.137 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.7031, allocations: 1.154 MB / 1.138 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004674/0.7036, allocations: 168 kB / 1.139 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.7041, allocations: 0.489 MB / 1.139 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of SimCode: time 1.392e-06/0.7041, allocations: 4 kB / 1.139 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.282/7.986, allocations: 18.6 MB / 1.157 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/22.42, allocations: 3.75 kB / 1.157 GB, free: 1.453 MB / 0.8887 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)