Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") [: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 9.1.1-maint.9.1.x/package.mo): time 1.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001023/0.001023, allocations: 185.2 kB / 487 MB, free: 5.375 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.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008557/0.0008557, allocations: 90.14 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.191e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1948, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5179/0.7127, allocations: 149.7 MB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.7129, allocations: 78.44 kB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0118/0.7247, allocations: 5.241 MB / 1.357 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.7247, allocations: 9.219 kB / 1.357 GB, free: 15.5 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0007636/0.7255, allocations: 0.6309 MB / 1.357 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.7255, allocations: 8.375 kB / 1.357 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.7256, allocations: 52.78 kB / 1.357 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.726, allocations: 320.5 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.726, allocations: 19.5 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.7261, allocations: 23.81 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004112/0.7265, allocations: 222.5 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.727, allocations: 270.7 kB / 1.358 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.727, allocations: 0.7969 kB / 1.358 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.727, allocations: 0 / 1.358 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.727, allocations: 10.69 kB / 1.358 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.7286, allocations: 1.118 MB / 1.359 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.729, allocations: 236.7 kB / 1.359 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.7291, allocations: 67.61 kB / 1.36 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.7291, allocations: 1.594 kB / 1.36 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.7291, allocations: 36.34 kB / 1.36 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.7291, allocations: 1.156 kB / 1.36 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0002707/0.7294, allocations: 142.5 kB / 1.36 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.455e-05/0.7294, allocations: 53.47 kB / 1.36 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.7297, allocations: 245.1 kB / 1.36 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.7297, allocations: 27.94 kB / 1.36 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.7298, allocations: 214.2 kB / 1.36 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.7298, allocations: 53.8 kB / 1.36 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.7298, allocations: 0 / 1.36 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.7299, allocations: 340.1 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.73, allocations: 56.28 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.7301, allocations: 97.14 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.715e-05/0.7302, allocations: 48.3 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7302, allocations: 1.281 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002754/0.7305, allocations: 188.5 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7305, allocations: 5.594 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7305, allocations: 0 / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.7305, allocations: 2.781 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.7308, allocations: 61.44 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7308, allocations: 2.516 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.731, allocations: 52.53 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.7311, allocations: 7.625 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.923e-05/0.7311, allocations: 113.7 kB / 1.361 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.7312, allocations: 22.84 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.7312, allocations: 29.3 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7312, allocations: 2.828 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7313, allocations: 7.844 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7313, allocations: 1.703 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.7319, allocations: 0.5683 MB / 1.362 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7319, allocations: 0.5625 kB / 1.362 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.7321, allocations: 55.19 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7322, allocations: 1.062 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.7322, allocations: 1.109 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.7322, allocations: 1.125 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7322, allocations: 4.469 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002521/0.7324, allocations: 243.1 kB / 1.362 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.7325, allocations: 109.7 kB / 1.362 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.7325, allocations: 1.219 kB / 1.362 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.7328, allocations: 47.86 kB / 1.362 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.7329, allocations: 24.09 kB / 1.362 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.7329, allocations: 4.047 kB / 1.362 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001568/0.7331, allocations: 178.6 kB / 1.362 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002836/0.7333, allocations: 66.62 kB / 1.363 GB, free: 12.47 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * 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.385e-05/0.7334, allocations: 109.3 kB / 1.363 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.7337, allocations: 136.9 kB / 1.363 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.7337, allocations: 0 / 1.363 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.7338, allocations: 66.25 kB / 1.363 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.734, allocations: 22.8 kB / 1.363 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.7347, allocations: 394.8 kB / 1.363 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.7351, allocations: 0.8357 MB / 1.364 GB, free: 27.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7351, allocations: 3.938 kB / 1.364 GB, free: 27.06 MB / 0.823 GB Notification: Performance of Templates: time 0.004907/0.74, allocations: 2.367 MB / 1.366 GB, free: 25.4 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches