Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonToAhu.VZonAbsMin_flow.1.|zonToAhu.VZonAbsMin_flow.2.|zonToAhu.VZonAbsMin_flow.3.|zonToAhu.VZonAbsMin_flow.4.|zonToAhu.VZonDesMin_flow.1.|zonToAhu.VZonDesMin_flow.2.|zonToAhu.VZonDesMin_flow.3.|zonToAhu.VZonDesMin_flow.4.|zonToAhu.uCO2.1.|zonToAhu.uCO2.2.|zonToAhu.uCO2.3.|zonToAhu.uCO2.4.|zonToAhu.VSumZonAbsMin_flow|zonToAhu.VSumZonDesMin_flow|zonToAhu.yMaxCO2|ahu.VEffAbsOutAir_flow|ahu.VEffDesOutAir_flow|ahu.effAbsOutAir_normalized|ahu.effDesOutAir_normalized|ahu.effOutAir_normalized",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonToAhu.VZonAbsMin_flow.1.|zonToAhu.VZonAbsMin_flow.2.|zonToAhu.VZonAbsMin_flow.3.|zonToAhu.VZonAbsMin_flow.4.|zonToAhu.VZonDesMin_flow.1.|zonToAhu.VZonDesMin_flow.2.|zonToAhu.VZonDesMin_flow.3.|zonToAhu.VZonDesMin_flow.4.|zonToAhu.uCO2.1.|zonToAhu.uCO2.2.|zonToAhu.uCO2.3.|zonToAhu.uCO2.4.|zonToAhu.VSumZonAbsMin_flow|zonToAhu.VSumZonDesMin_flow|zonToAhu.yMaxCO2|ahu.VEffAbsOutAir_flow|ahu.VEffDesOutAir_flow|ahu.effAbsOutAir_normalized|ahu.effDesOutAir_normalized|ahu.effOutAir_normalized",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.708/1.708, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 185.4 kB / 490.8 MB, free: 11.22 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.042/1.042, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 88.53 kB / 0.9264 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 7.665e-06/7.775e-06, allocations: 4 kB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4661, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5899, allocations: 151.3 MB / 1.359 GB, free: 40.33 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000166/0.5901, allocations: 84.67 kB / 1.36 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.01138/0.6014, allocations: 5.912 MB / 1.365 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.6015, allocations: 16.53 kB / 1.365 GB, free: 34.39 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.000639/0.6021, allocations: 0.7056 MB / 1.366 GB, free: 33.65 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/0.6022, allocations: 8.031 kB / 1.366 GB, free: 33.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.6022, allocations: 68.34 kB / 1.366 GB, free: 33.57 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.6027, allocations: 432.1 kB / 1.366 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6027, allocations: 20 kB / 1.367 GB, free: 33.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.6028, allocations: 32.91 kB / 1.367 GB, free: 33.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005754/0.6034, allocations: 0.4906 MB / 1.367 GB, free: 32.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.6039, allocations: 492.3 kB / 1.367 GB, free: 32.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6039, allocations: 0.5938 kB / 1.367 GB, free: 32.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.604, allocations: 3.984 kB / 1.367 GB, free: 32.08 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.604, allocations: 12.69 kB / 1.368 GB, free: 32.07 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.6056, allocations: 1.416 MB / 1.369 GB, free: 30.63 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.6062, allocations: 261.2 kB / 1.369 GB, free: 30.37 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.6063, allocations: 84.73 kB / 1.369 GB, free: 30.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.6063, allocations: 4.547 kB / 1.369 GB, free: 30.28 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.6063, allocations: 41.84 kB / 1.369 GB, free: 30.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.6063, allocations: 0.8438 kB / 1.369 GB, free: 30.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0002689/0.6066, allocations: 209.1 kB / 1.369 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.221e-05/0.6066, allocations: 52.25 kB / 1.37 GB, free: 29.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.607, allocations: 466.7 kB / 1.37 GB, free: 29.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.607, allocations: 25.7 kB / 1.37 GB, free: 29.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.6071, allocations: 255.9 kB / 1.37 GB, free: 29.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.6071, allocations: 59.92 kB / 1.37 GB, free: 29.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.6071, allocations: 0 / 1.37 GB, free: 29.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.6072, allocations: 355.7 kB / 1.371 GB, free: 28.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.6073, allocations: 136.4 kB / 1.371 GB, free: 28.67 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.6075, allocations: 145.3 kB / 1.371 GB, free: 28.53 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.6076, allocations: 150.2 kB / 1.371 GB, free: 28.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6076, allocations: 0.5625 kB / 1.371 GB, free: 28.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003613/0.608, allocations: 375.7 kB / 1.371 GB, free: 28.01 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.608, allocations: 4.688 kB / 1.371 GB, free: 28.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.608, allocations: 4 kB / 1.371 GB, free: 28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.608, allocations: 0.5 kB / 1.371 GB, free: 28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.6082, allocations: 48.42 kB / 1.371 GB, free: 27.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.6082, allocations: 3.984 kB / 1.371 GB, free: 27.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.6084, allocations: 34.11 kB / 1.371 GB, free: 27.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.6084, allocations: 4.5 kB / 1.371 GB, free: 27.92 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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 5.282e-05/0.6085, allocations: 114 kB / 1.372 GB, free: 27.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.6086, allocations: 32.03 kB / 1.372 GB, free: 27.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.6088, allocations: 241.5 kB / 1.372 GB, free: 27.53 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6088, allocations: 4 kB / 1.372 GB, free: 27.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6089, allocations: 7.781 kB / 1.372 GB, free: 27.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6089, allocations: 0 / 1.372 GB, free: 27.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.6098, allocations: 1.183 MB / 1.373 GB, free: 26.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6098, allocations: 4.5 kB / 1.373 GB, free: 26.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6099, allocations: 39.92 kB / 1.373 GB, free: 26.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.6099, allocations: 4.531 kB / 1.373 GB, free: 26.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6099, allocations: 4.562 kB / 1.373 GB, free: 26.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.6099, allocations: 18.17 kB / 1.373 GB, free: 26.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.61, allocations: 4.906 kB / 1.373 GB, free: 26.18 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002972/0.6103, allocations: 0.5238 MB / 1.374 GB, free: 25.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.6103, allocations: 141.3 kB / 1.374 GB, free: 25.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.6104, allocations: 7.984 kB / 1.374 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.6106, allocations: 13.3 kB / 1.374 GB, free: 25.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.6106, allocations: 26.41 kB / 1.374 GB, free: 25.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.6106, allocations: 8 kB / 1.374 GB, free: 25.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002475/0.6109, allocations: 352.5 kB / 1.374 GB, free: 24.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002924/0.6112, allocations: 100.1 kB / 1.374 GB, free: 24.85 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 8.317e-05/0.6112, allocations: 115.7 kB / 1.374 GB, free: 24.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.6115, allocations: 247.8 kB / 1.375 GB, free: 24.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6115, allocations: 0 / 1.375 GB, free: 24.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.6116, allocations: 95.78 kB / 1.375 GB, free: 24.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.6119, allocations: 46.25 kB / 1.375 GB, free: 24.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.6128, allocations: 0.7177 MB / 1.375 GB, free: 23.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.6132, allocations: 0.9462 MB / 1.376 GB, free: 22.58 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.6132, allocations: 0 / 1.376 GB, free: 22.58 MB / 0.8855 GB Notification: Performance of Templates: time 0.005219/0.6184, allocations: 2.863 MB / 1.379 GB, free: 19.82 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches