Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.756/1.756, allocations: 387.2 MB / 394.5 MB, free: 13.3 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.0009495/0.0009495, allocations: 180.9 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.08/1.08, allocations: 221.3 MB / 0.7819 GB, free: 6.836 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 106.7 kB / 0.9213 GB, free: 43.67 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.172e-06, allocations: 0 / 1.066 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5164, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.6614, allocations: 149.9 MB / 1.352 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.6616, allocations: 75.58 kB / 1.352 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.008589/0.6702, allocations: 3.539 MB / 1.355 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.6703, allocations: 4 kB / 1.355 GB, free: 9.742 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005706/0.6708, allocations: 0.4943 MB / 1.356 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.6709, allocations: 8.031 kB / 1.356 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.6709, allocations: 31.62 kB / 1.356 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6713, allocations: 283.8 kB / 1.356 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.6713, allocations: 8 kB / 1.356 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.6713, allocations: 16 kB / 1.356 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002547/0.6716, allocations: 137.6 kB / 1.356 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.6719, allocations: 179.1 kB / 1.356 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6719, allocations: 0 / 1.356 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.6719, allocations: 0 / 1.356 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6719, allocations: 4 kB / 1.356 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.6728, allocations: 0.6578 MB / 1.357 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.6731, allocations: 150.5 kB / 1.357 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/0.6732, allocations: 56.86 kB / 1.357 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.6732, allocations: 0 / 1.357 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.6733, allocations: 36.34 kB / 1.357 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.6733, allocations: 3.984 kB / 1.357 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0002579/0.6735, allocations: 137.8 kB / 1.357 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.6736, allocations: 55.39 kB / 1.357 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6737, allocations: 166.6 kB / 1.358 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.6737, allocations: 29.7 kB / 1.358 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.6738, allocations: 136.2 kB / 1.358 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.6738, allocations: 50.7 kB / 1.358 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.6738, allocations: 0 / 1.358 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.6739, allocations: 322.8 kB / 1.358 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.674, allocations: 51.98 kB / 1.358 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.389e-05/0.6741, allocations: 63.66 kB / 1.358 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.6742, allocations: 31.98 kB / 1.358 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6742, allocations: 0 / 1.358 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002025/0.6744, allocations: 138.5 kB / 1.358 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.046e-06/0.6744, allocations: 8 kB / 1.358 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6744, allocations: 2.188 kB / 1.358 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.6744, allocations: 0 / 1.358 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.6746, allocations: 35.94 kB / 1.358 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6746, allocations: 4 kB / 1.358 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.6748, allocations: 19.98 kB / 1.358 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.6748, allocations: 7.984 kB / 1.358 GB, free: 6.262 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.043e-05/0.6749, allocations: 117.8 kB / 1.359 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.6749, allocations: 15.81 kB / 1.359 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.675, allocations: 17.59 kB / 1.359 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.675, allocations: 0.875 kB / 1.359 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.675, allocations: 4 kB / 1.359 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.675, allocations: 3.984 kB / 1.359 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.6752, allocations: 262 kB / 1.359 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6752, allocations: 0 / 1.359 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.6754, allocations: 31.92 kB / 1.359 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6754, allocations: 0.875 kB / 1.359 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.6754, allocations: 3.984 kB / 1.359 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6754, allocations: 0 / 1.359 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6754, allocations: 4 kB / 1.359 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002245/0.6757, allocations: 240.2 kB / 1.359 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.6757, allocations: 96.84 kB / 1.359 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.6757, allocations: 0.6875 kB / 1.359 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.6759, allocations: 23.98 kB / 1.359 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.676, allocations: 31.95 kB / 1.359 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.676, allocations: 3.984 kB / 1.359 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.286e-05/0.6761, allocations: 129.2 kB / 1.359 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002391/0.6763, allocations: 42.25 kB / 1.359 GB, free: 5.188 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.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 0.0001079/0.6765, allocations: 109.1 kB / 1.359 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.6767, allocations: 123.1 kB / 1.36 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6767, allocations: 0 / 1.36 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.6768, allocations: 75.92 kB / 1.36 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.677, allocations: 19.11 kB / 1.36 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.6775, allocations: 250.8 kB / 1.36 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.6779, allocations: 0.7749 MB / 1.361 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/0.6779, allocations: 0 / 1.361 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of Templates: time 0.0048/0.6827, allocations: 2.124 MB / 1.363 GB, free: 1.75 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches