Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.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.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.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.804/1.804, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001173/0.001173, allocations: 192.8 kB / 487 MB, free: 5.336 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.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008681/0.0008681, allocations: 88.67 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.212e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1801, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.6935, allocations: 150 MB / 1.352 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001524/0.6937, allocations: 75.48 kB / 1.352 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00953/0.7032, allocations: 4.03 MB / 1.356 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.7033, allocations: 6.375 kB / 1.356 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0005617/0.7038, allocations: 0.5171 MB / 1.356 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7039, allocations: 9.5 kB / 1.356 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.704, allocations: 37.3 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7041, allocations: 212.9 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.7041, allocations: 12.42 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.7042, allocations: 18.53 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003723/0.7046, allocations: 196.7 kB / 1.357 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.7049, allocations: 222.1 kB / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.705, allocations: 0 / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.705, allocations: 0 / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.705, allocations: 12.03 kB / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.7061, allocations: 0.7875 MB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.7064, allocations: 200.1 kB / 1.358 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.7066, allocations: 93.38 kB / 1.358 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.7066, allocations: 8.688 kB / 1.358 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.7066, allocations: 35.47 kB / 1.358 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.7066, allocations: 4.953 kB / 1.358 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0003398/0.707, allocations: 186.4 kB / 1.358 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.707, allocations: 54.41 kB / 1.358 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.7071, allocations: 166.2 kB / 1.358 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7071, allocations: 25.7 kB / 1.358 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.7072, allocations: 157.3 kB / 1.359 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.7072, allocations: 73.69 kB / 1.359 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.7073, allocations: 3.938 kB / 1.359 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.7073, allocations: 326.8 kB / 1.359 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.997e-05/0.7074, allocations: 64.83 kB / 1.359 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.7075, allocations: 68.77 kB / 1.359 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/0.7076, allocations: 49.36 kB / 1.359 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7076, allocations: 0 / 1.359 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002767/0.7079, allocations: 191.7 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.7079, allocations: 4.906 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.7079, allocations: 4 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7079, allocations: 1.719 kB / 1.359 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.7082, allocations: 52.89 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.7082, allocations: 0.75 kB / 1.359 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.7083, allocations: 21.45 kB / 1.359 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.7084, allocations: 6.562 kB / 1.359 GB, free: 13.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * 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 6.051e-05/0.7084, allocations: 112.7 kB / 1.36 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.7085, allocations: 24.66 kB / 1.36 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.7088, allocations: 205 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.7088, allocations: 2.656 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7089, allocations: 1.312 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7089, allocations: 1.172 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.7092, allocations: 301.9 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7092, allocations: 0.7812 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.7094, allocations: 53.38 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7094, allocations: 0.7812 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.7094, allocations: 2.25 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7094, allocations: 1.875 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7094, allocations: 3.906 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002909/0.7097, allocations: 289.1 kB / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.7098, allocations: 99.89 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.7098, allocations: 1.266 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.71, allocations: 12.39 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.7101, allocations: 25.86 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.7101, allocations: 9.781 kB / 1.361 GB, free: 13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.77e-05/0.7102, allocations: 128.2 kB / 1.361 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002841/0.7104, allocations: 55.25 kB / 1.361 GB, free: 12.9 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: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000105/0.7106, allocations: 120.5 kB / 1.361 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.7108, allocations: 165.5 kB / 1.361 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7109, allocations: 0 / 1.361 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.711, allocations: 98.56 kB / 1.361 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.7112, allocations: 23.73 kB / 1.361 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.7119, allocations: 316.9 kB / 1.361 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.7122, allocations: 0.7949 MB / 1.362 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.7122, allocations: 0 / 1.362 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.005252/0.7174, allocations: 2.221 MB / 1.364 GB, free: 11.03 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches