Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001066/0.001066, allocations: 185.3 kB / 487 MB, free: 5.379 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008488/0.0008488, allocations: 95.31 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6779, allocations: 149.3 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001606/0.6781, allocations: 79.31 kB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005321/0.6834, allocations: 2.104 MB / 1.353 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6835, allocations: 2.688 kB / 1.353 GB, free: 15.83 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.000377/0.6838, allocations: 421.3 kB / 1.354 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6839, allocations: 10.34 kB / 1.354 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.6839, allocations: 21.19 kB / 1.354 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.684, allocations: 182.6 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6841, allocations: 4.906 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.6841, allocations: 9.312 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001724/0.6843, allocations: 89.36 kB / 1.354 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.6844, allocations: 110 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6845, allocations: 0 / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6845, allocations: 0 / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.6845, allocations: 3.281 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.6851, allocations: 463.8 kB / 1.354 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.6852, allocations: 91.27 kB / 1.354 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.6853, allocations: 37.17 kB / 1.355 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.6853, allocations: 1.453 kB / 1.355 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.005e-05/0.6853, allocations: 32.31 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.6853, allocations: 0 / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002083/0.6856, allocations: 100.1 kB / 1.355 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.175e-05/0.6856, allocations: 56.72 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.6857, allocations: 128.6 kB / 1.355 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.6857, allocations: 30.45 kB / 1.355 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.6857, allocations: 112.9 kB / 1.355 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.6857, allocations: 29.66 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.6857, allocations: 0 / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.6858, allocations: 320 kB / 1.355 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.6858, allocations: 25 kB / 1.355 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.6859, allocations: 28.22 kB / 1.355 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.6859, allocations: 27.12 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.686, allocations: 1.812 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00015/0.6861, allocations: 99.34 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.6861, allocations: 5.25 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6861, allocations: 1.828 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6861, allocations: 0 / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.6863, allocations: 33.19 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6863, allocations: 1.578 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.6864, allocations: 16.38 kB / 1.356 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.6865, allocations: 3.047 kB / 1.356 GB, free: 14.11 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 4.575e-05/0.6865, allocations: 110 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.6866, allocations: 13.47 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.6866, allocations: 11.48 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6866, allocations: 1.969 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6866, allocations: 0 / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6866, allocations: 2.078 kB / 1.356 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.6868, allocations: 211.5 kB / 1.356 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6868, allocations: 1.875 kB / 1.356 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.6869, allocations: 31.91 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.687, allocations: 1 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.687, allocations: 0.7969 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.687, allocations: 1.797 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.687, allocations: 0 / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001623/0.6871, allocations: 196.6 kB / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.6872, allocations: 89.28 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.6872, allocations: 0.8438 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.6873, allocations: 16.11 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.6874, allocations: 20.97 kB / 1.356 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.6874, allocations: 3.344 kB / 1.356 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.142e-05/0.6875, allocations: 113 kB / 1.356 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002255/0.6877, allocations: 20.66 kB / 1.356 GB, free: 13.49 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 8.944e-05/0.6878, allocations: 111.8 kB / 1.356 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.688, allocations: 71.08 kB / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.688, allocations: 0 / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.6881, allocations: 47.56 kB / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.6882, allocations: 16.3 kB / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.6886, allocations: 159.6 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6889, allocations: 0.7392 MB / 1.357 GB, free: 28.58 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.6889, allocations: 0 / 1.357 GB, free: 28.58 MB / 0.823 GB Notification: Performance of Templates: time 0.003387/0.6923, allocations: 1.389 MB / 1.359 GB, free: 28.5 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches