Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonToAhu.VAdjPopBreZon_flow.1.|zonToAhu.VAdjPopBreZon_flow.2.|zonToAhu.VAdjPopBreZon_flow.3.|zonToAhu.VAdjPopBreZon_flow.4.|zonToAhu.VAdjAreBreZon_flow.1.|zonToAhu.VAdjAreBreZon_flow.2.|zonToAhu.VAdjAreBreZon_flow.3.|zonToAhu.VAdjAreBreZon_flow.4.|zonToAhu.VZonPri_flow.1.|zonToAhu.VZonPri_flow.2.|zonToAhu.VZonPri_flow.3.|zonToAhu.VZonPri_flow.4.|zonToAhu.VMinOA_flow.1.|zonToAhu.VMinOA_flow.2.|zonToAhu.VMinOA_flow.3.|zonToAhu.VMinOA_flow.4.|zonToAhu.VSumAdjPopBreZon_flow|zonToAhu.VSumAdjAreBreZon_flow|zonToAhu.VSumZonPri_flow|zonToAhu.uOutAirFra_max|ahu.VUncOutAir_flow|ahu.VEffAirOut_flow_min|ahu.effOutAir_normalized",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonToAhu.VAdjPopBreZon_flow.1.|zonToAhu.VAdjPopBreZon_flow.2.|zonToAhu.VAdjPopBreZon_flow.3.|zonToAhu.VAdjPopBreZon_flow.4.|zonToAhu.VAdjAreBreZon_flow.1.|zonToAhu.VAdjAreBreZon_flow.2.|zonToAhu.VAdjAreBreZon_flow.3.|zonToAhu.VAdjAreBreZon_flow.4.|zonToAhu.VZonPri_flow.1.|zonToAhu.VZonPri_flow.2.|zonToAhu.VZonPri_flow.3.|zonToAhu.VZonPri_flow.4.|zonToAhu.VMinOA_flow.1.|zonToAhu.VMinOA_flow.2.|zonToAhu.VMinOA_flow.3.|zonToAhu.VMinOA_flow.4.|zonToAhu.VSumAdjPopBreZon_flow|zonToAhu.VSumAdjAreBreZon_flow|zonToAhu.VSumZonPri_flow|zonToAhu.uOutAirFra_max|ahu.VUncOutAir_flow|ahu.VEffAirOut_flow_min|ahu.effOutAir_normalized",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 184.6 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.000845, allocations: 101.5 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.695e-05/1.697e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2698, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.174, allocations: 150.9 MB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.174, allocations: 81.17 kB / 1.354 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02218/1.196, allocations: 9.299 MB / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.485e-06/1.196, allocations: 3.938 kB / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.83e-05/1.196, allocations: 23.28 kB / 1.363 GB, free: 33.51 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001786/1.198, allocations: 0.9861 MB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.198, allocations: 7.625 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/1.199, allocations: 104.7 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/1.199, allocations: 0.597 MB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/1.199, allocations: 33.39 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.2, allocations: 46.09 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001324/1.201, allocations: 0.8869 MB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.202, allocations: 0.8116 MB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.202, allocations: 3.234 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/1.202, allocations: 3.906 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.202, allocations: 18.72 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/1.206, allocations: 2.337 MB / 1.368 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/1.206, allocations: 486 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/1.207, allocations: 189.5 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/1.207, allocations: 10.88 kB / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.207, allocations: 42.06 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/1.207, allocations: 0 / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0005711/1.207, allocations: 419.6 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/1.207, allocations: 55.25 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/1.208, allocations: 0.6972 MB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.208, allocations: 25.7 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/1.208, allocations: 445.7 kB / 1.371 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/1.208, allocations: 118.5 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/1.208, allocations: 0 / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.209, allocations: 369 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/1.209, allocations: 285.1 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/1.209, allocations: 313.3 kB / 1.372 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/1.21, allocations: 309.2 kB / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.21, allocations: 0 / 1.372 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007745/1.21, allocations: 0.6897 MB / 1.373 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.21, allocations: 9.469 kB / 1.373 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.21, allocations: 4.031 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.21, allocations: 3.625 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/1.211, allocations: 110.1 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.211, allocations: 3.844 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/1.211, allocations: 72.39 kB / 1.373 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/1.211, allocations: 10.66 kB / 1.373 GB, free: 30.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (zonToAhu.booToRea[2].u,zonToAhu.booToRea[1].u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0001111/1.211, allocations: 116 kB / 1.373 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/1.211, allocations: 53.98 kB / 1.373 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/1.212, allocations: 469.6 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.212, allocations: 3.969 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.212, allocations: 0 / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.212, allocations: 2.719 kB / 1.373 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/1.215, allocations: 2.657 MB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.215, allocations: 7.438 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/1.215, allocations: 77.41 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.215, allocations: 11.75 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.215, allocations: 11.56 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.215, allocations: 18.7 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.215, allocations: 19.53 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/1.216, allocations: 1.053 MB / 1.377 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/1.216, allocations: 177.3 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/1.216, allocations: 10.66 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/1.216, allocations: 36.94 kB / 1.377 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/1.216, allocations: 54.09 kB / 1.377 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.216, allocations: 18.75 kB / 1.377 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005399/1.217, allocations: 0.5288 MB / 1.378 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.71e-07/1.217, allocations: 3.844 kB / 1.378 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005287/1.217, allocations: 162.7 kB / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001611/1.218, allocations: 119.7 kB / 1.378 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006299/1.218, allocations: 0.5087 MB / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.218, allocations: 3.875 kB / 1.379 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/1.219, allocations: 212.8 kB / 1.379 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/1.219, allocations: 66.17 kB / 1.379 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/1.221, allocations: 1.352 MB / 1.38 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/1.222, allocations: 1.101 MB / 1.381 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003051/1.222, allocations: 160.4 kB / 1.382 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.222, allocations: 48.45 kB / 1.382 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.222, allocations: 4 kB / 1.382 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.007852/1.23, allocations: 3.764 MB / 1.385 GB, free: 25.53 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches