Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.766/1.766, 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.0009757/0.0009758, allocations: 192.4 kB / 487 MB, free: 5.387 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008483/0.0008482, allocations: 94.38 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.151e-06, allocations: 0 / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1795, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.6539, allocations: 149.3 MB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.6541, allocations: 72.8 kB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005428/0.6595, allocations: 2.11 MB / 1.353 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.6596, allocations: 3.719 kB / 1.353 GB, free: 15.77 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004014/0.66, allocations: 434.3 kB / 1.354 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.66, allocations: 9.25 kB / 1.354 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.6601, allocations: 21.08 kB / 1.354 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.6602, allocations: 178.7 kB / 1.354 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6602, allocations: 6.859 kB / 1.354 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.6602, allocations: 7.281 kB / 1.354 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001828/0.6604, allocations: 85.12 kB / 1.354 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.6606, allocations: 110.4 kB / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6606, allocations: 0 / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6606, allocations: 0 / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.6606, allocations: 4.125 kB / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.6613, allocations: 465.7 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.6615, allocations: 89.02 kB / 1.354 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.6615, allocations: 38.98 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.6616, allocations: 1.156 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.6616, allocations: 35.95 kB / 1.355 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.6616, allocations: 0 / 1.355 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002453/0.6618, allocations: 96.52 kB / 1.355 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.6619, allocations: 57.31 kB / 1.355 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.662, allocations: 129 kB / 1.355 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.662, allocations: 30.67 kB / 1.355 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.662, allocations: 106.6 kB / 1.355 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.6621, allocations: 31.97 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.6621, allocations: 0 / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.6621, allocations: 322.1 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.6622, allocations: 25.69 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.6622, allocations: 28.72 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.6623, allocations: 24.3 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6623, allocations: 1.188 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001609/0.6625, allocations: 100.8 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.6625, allocations: 4.688 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6625, allocations: 0.6562 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6625, allocations: 1.406 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.6627, allocations: 28.52 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.6627, allocations: 1.156 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6628, allocations: 12.17 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6628, allocations: 7.172 kB / 1.356 GB, free: 14.06 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.911e-05/0.6629, allocations: 107.3 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.6629, allocations: 13.59 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.663, allocations: 12.2 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.663, allocations: 5.719 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.663, allocations: 0 / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.663, allocations: 0.6094 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.6632, allocations: 215.8 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6632, allocations: 0.6562 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.6634, allocations: 32.14 kB / 1.356 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.6634, allocations: 5.5 kB / 1.356 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6634, allocations: 1.688 kB / 1.356 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.6634, allocations: 0.6562 kB / 1.356 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6634, allocations: 1.062 kB / 1.356 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001923/0.6636, allocations: 196.3 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.6637, allocations: 88.98 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.6637, allocations: 0.6094 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6638, allocations: 16.91 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.6639, allocations: 25.47 kB / 1.356 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.6639, allocations: 3.031 kB / 1.356 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.548e-05/0.664, allocations: 110.1 kB / 1.356 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002356/0.6642, allocations: 21.27 kB / 1.356 GB, free: 13.43 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001198/0.6643, allocations: 109.6 kB / 1.356 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.6645, allocations: 70.8 kB / 1.357 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6645, allocations: 0 / 1.357 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.6646, allocations: 46.7 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.6648, allocations: 13.22 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.6652, allocations: 158.6 kB / 1.357 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.6656, allocations: 0.7471 MB / 1.357 GB, free: 28.52 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.6656, allocations: 0 / 1.357 GB, free: 28.52 MB / 0.823 GB Notification: Performance of Templates: time 0.003711/0.6693, allocations: 1.386 MB / 1.359 GB, free: 28.44 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches