Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009607/0.0009607, allocations: 192.4 kB / 487 MB, free: 5.367 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.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.0008446/0.0008446, allocations: 94.38 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.391e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.6839, allocations: 152.3 MB / 1.354 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001607/0.6841, allocations: 79.94 kB / 1.354 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03407/0.7182, allocations: 16.78 MB / 1.37 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.925e-05/0.7183, allocations: 39.77 kB / 1.37 GB, free: 7.395 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.001378/0.7197, allocations: 1.262 MB / 1.372 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.7197, allocations: 8.031 kB / 1.372 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.7199, allocations: 154.1 kB / 1.372 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.7207, allocations: 0.6786 MB / 1.373 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.7207, allocations: 59.05 kB / 1.373 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7208, allocations: 84 kB / 1.373 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001196/0.722, allocations: 0.8062 MB / 1.373 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.7233, allocations: 0.8727 MB / 1.374 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.7233, allocations: 0 / 1.374 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.7234, allocations: 0 / 1.374 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.7234, allocations: 36 kB / 1.374 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.727, allocations: 3.037 MB / 1.377 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.7277, allocations: 467.2 kB / 1.378 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/0.728, allocations: 270.8 kB / 1.378 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.7281, allocations: 16.53 kB / 1.378 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.7284, allocations: 367.1 kB / 1.378 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=74): time 1.783e-06/0.7285, allocations: 0 / 1.378 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74): time 0.0006865/0.7291, allocations: 0.4961 MB / 1.379 GB, free: 0.7891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.7292, allocations: 226 kB / 1.379 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.7296, allocations: 463.6 kB / 1.38 GB, free: 184 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.7296, allocations: 29.7 kB / 1.38 GB, free: 148 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.7299, allocations: 491.5 kB / 1.38 GB, free: 15.71 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.7301, allocations: 227.2 kB / 1.38 GB, free: 15.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.7301, allocations: 0 / 1.38 GB, free: 15.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7302, allocations: 376.1 kB / 1.381 GB, free: 15.17 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.7306, allocations: 229.4 kB / 1.381 GB, free: 15.05 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.731, allocations: 334.1 kB / 1.381 GB, free: 14.81 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.7314, allocations: 234 kB / 1.381 GB, free: 14.67 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7315, allocations: 4 kB / 1.381 GB, free: 14.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001009/0.7325, allocations: 0.6503 MB / 1.382 GB, free: 14.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.7325, allocations: 4 kB / 1.382 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7325, allocations: 0 / 1.382 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7325, allocations: 4 kB / 1.382 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.733, allocations: 138.9 kB / 1.382 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.733, allocations: 4 kB / 1.382 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.7337, allocations: 159.3 kB / 1.382 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.7337, allocations: 31.06 kB / 1.382 GB, free: 13.87 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,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): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0001246/0.7339, allocations: 126.7 kB / 1.382 GB, free: 13.74 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.7339, allocations: 71.16 kB / 1.382 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/0.7347, allocations: 0.5022 MB / 1.383 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.7347, allocations: 11.94 kB / 1.383 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7347, allocations: 4 kB / 1.383 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.7347, allocations: 3.984 kB / 1.383 GB, free: 13.29 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.737, allocations: 2.137 MB / 1.385 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.737, allocations: 11.91 kB / 1.385 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.7375, allocations: 146.1 kB / 1.385 GB, free: 11.47 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.7375, allocations: 15.98 kB / 1.385 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.7376, allocations: 12 kB / 1.385 GB, free: 11.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.7376, allocations: 15.92 kB / 1.385 GB, free: 11.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.7376, allocations: 11.94 kB / 1.385 GB, free: 11.42 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009605/0.7386, allocations: 1.19 MB / 1.386 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.7387, allocations: 162.1 kB / 1.387 GB, free: 9.969 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.7388, allocations: 23.42 kB / 1.387 GB, free: 9.949 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.7392, allocations: 64.08 kB / 1.387 GB, free: 9.887 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.7394, allocations: 81.06 kB / 1.387 GB, free: 9.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.7394, allocations: 30.73 kB / 1.387 GB, free: 9.793 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002795/0.7397, allocations: 318.6 kB / 1.387 GB, free: 9.566 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000534/0.7402, allocations: 229.7 kB / 1.387 GB, free: 9.344 MB / 0.823 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,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.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.000153/0.7404, allocations: 143.9 kB / 1.387 GB, free: 9.199 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008024/0.7412, allocations: 0.5877 MB / 1.388 GB, free: 8.797 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7412, allocations: 0 / 1.388 GB, free: 8.797 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.7418, allocations: 388.2 kB / 1.388 GB, free: 8.547 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.7422, allocations: 81.94 kB / 1.388 GB, free: 8.484 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.7443, allocations: 1.309 MB / 1.39 GB, free: 7.195 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/0.745, allocations: 1.141 MB / 1.391 GB, free: 6.031 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7451, allocations: 4 kB / 1.391 GB, free: 6.027 MB / 0.823 GB Notification: Performance of Templates: time 0.01271/0.7578, allocations: 7.573 MB / 1.398 GB, free: 14.61 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches