Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet_RehBox.nOcc|actAirSet_RehBox.ppmCO2|actAirSet_RehBox.uWin|actAirSet_RehBox.uOpeMod|actAirSet_RehBox1.uOpeMod|actAirSet_RehBox.co2ConLoo.y|actAirSet_RehBox.lin1.y|actAirSet_RehBox.VOccDisMin_flow|actAirSet_RehBox.VDisSetMin_flow|actAirSet_RehBox.VDisConMin_flow|actAirSet_RehBox.VDisCooSetMax_flow|actAirSet_RehBox.VActCooMax_flow|actAirSet_RehBox.VActCooMin_flow|actAirSet_RehBox.VActMin_flow|actAirSet_RehBox.VActHeaMin_flow|actAirSet_RehBox.VActHeaMax_flow|actAirSet_RehBox1.VActCooMax_flow|actAirSet_RehBox1.VActCooMin_flow|actAirSet_RehBox1.VActMin_flow|actAirSet_RehBox1.VActHeaMin_flow|actAirSet_RehBox1.VActHeaMax_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet_RehBox.nOcc|actAirSet_RehBox.ppmCO2|actAirSet_RehBox.uWin|actAirSet_RehBox.uOpeMod|actAirSet_RehBox1.uOpeMod|actAirSet_RehBox.co2ConLoo.y|actAirSet_RehBox.lin1.y|actAirSet_RehBox.VOccDisMin_flow|actAirSet_RehBox.VDisSetMin_flow|actAirSet_RehBox.VDisConMin_flow|actAirSet_RehBox.VDisCooSetMax_flow|actAirSet_RehBox.VActCooMax_flow|actAirSet_RehBox.VActCooMin_flow|actAirSet_RehBox.VActMin_flow|actAirSet_RehBox.VActHeaMin_flow|actAirSet_RehBox.VActHeaMax_flow|actAirSet_RehBox1.VActCooMax_flow|actAirSet_RehBox1.VActCooMin_flow|actAirSet_RehBox1.VActMin_flow|actAirSet_RehBox1.VActHeaMin_flow|actAirSet_RehBox1.VActHeaMax_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") [: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 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001556, allocations: 188.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000888/0.0008881, allocations: 87.94 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.298e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5981/0.8273, allocations: 136 MB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.8275, allocations: 75.31 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03602/0.8636, allocations: 15.17 MB / 1.032 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.055e-05/0.8636, allocations: 28 kB / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002069/0.8657, allocations: 1.239 MB / 1.034 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8658, allocations: 8.031 kB / 1.034 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.866, allocations: 150.1 kB / 1.034 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.8669, allocations: 0.5627 MB / 1.034 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.867, allocations: 55.34 kB / 1.034 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.8671, allocations: 80 kB / 1.034 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/0.8688, allocations: 0.8188 MB / 1.035 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.8705, allocations: 0.8517 MB / 1.036 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.8706, allocations: 3.938 kB / 1.036 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.8707, allocations: 0 / 1.036 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.8707, allocations: 36 kB / 1.036 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.8756, allocations: 2.981 MB / 1.039 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.8766, allocations: 0.4977 MB / 1.039 GB, free: 264 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.8769, allocations: 227 kB / 1.04 GB, free: 132 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.877, allocations: 20.75 kB / 1.04 GB, free: 116 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.8775, allocations: 373.5 kB / 1.04 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 2.394e-06/0.8775, allocations: 0 / 1.04 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.0009111/0.8785, allocations: 0.5142 MB / 1.041 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.8786, allocations: 229.7 kB / 1.041 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.8791, allocations: 468.1 kB / 1.041 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.8792, allocations: 28.52 kB / 1.041 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.8795, allocations: 469.3 kB / 1.042 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.8797, allocations: 232.9 kB / 1.042 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.8797, allocations: 0 / 1.042 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.8799, allocations: 377.4 kB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.8803, allocations: 227.2 kB / 1.043 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.8807, allocations: 320.3 kB / 1.043 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.8811, allocations: 215.6 kB / 1.043 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8811, allocations: 0 / 1.043 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009604/0.8821, allocations: 0.6214 MB / 1.044 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8821, allocations: 4 kB / 1.044 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8821, allocations: 0 / 1.044 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.8821, allocations: 7.984 kB / 1.044 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.8827, allocations: 134.4 kB / 1.044 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.8828, allocations: 11.88 kB / 1.044 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.8833, allocations: 119.7 kB / 1.044 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.8833, allocations: 29.61 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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.0001619/0.8835, allocations: 134 kB / 1.044 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.8836, allocations: 71.16 kB / 1.044 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009274/0.8846, allocations: 0.5241 MB / 1.045 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8846, allocations: 8 kB / 1.045 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8846, allocations: 0 / 1.045 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.8846, allocations: 7.891 kB / 1.045 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.8874, allocations: 2.233 MB / 1.047 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.8874, allocations: 11.94 kB / 1.047 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.888, allocations: 137.6 kB / 1.047 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.888, allocations: 12 kB / 1.047 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.8881, allocations: 11.98 kB / 1.047 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.8881, allocations: 15.94 kB / 1.047 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/0.8881, allocations: 15.92 kB / 1.047 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001281/0.8894, allocations: 1.213 MB / 1.048 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.8895, allocations: 158.9 kB / 1.048 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.8897, allocations: 31.33 kB / 1.048 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.8902, allocations: 63.95 kB / 1.048 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.8904, allocations: 81.67 kB / 1.049 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.8904, allocations: 27.5 kB / 1.049 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000368/0.8908, allocations: 326.9 kB / 1.049 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007154/0.8915, allocations: 222.7 kB / 1.049 GB, free: 8.035 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002468/0.8918, allocations: 130.5 kB / 1.049 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.8928, allocations: 0.5573 MB / 1.05 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8929, allocations: 4 kB / 1.05 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.8937, allocations: 393.9 kB / 1.05 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.8942, allocations: 67.5 kB / 1.05 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.8969, allocations: 1.301 MB / 1.051 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/0.8979, allocations: 1.149 MB / 1.053 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of SimCode: time 7.62e-07/0.8979, allocations: 0 / 1.053 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of Templates: time 0.01364/0.9115, allocations: 7.122 MB / 1.06 GB, free: 13.78 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches