Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.793/1.793, 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.0009539/0.0009539, allocations: 185.2 kB / 487 MB, free: 5.355 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.406 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.0008504/0.0008503, allocations: 93.97 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.443e-06/6.463e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.6577, allocations: 149.3 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.6579, allocations: 75.38 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005543/0.6635, allocations: 2.113 MB / 1.353 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6635, allocations: 2.406 kB / 1.353 GB, free: 15.71 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.0003935/0.6639, allocations: 419.1 kB / 1.354 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6639, allocations: 9.688 kB / 1.354 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.664, allocations: 15.73 kB / 1.354 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6641, allocations: 183.1 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.6641, allocations: 5.219 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.6641, allocations: 8.125 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001764/0.6643, allocations: 86.06 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.6645, allocations: 112.5 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6645, allocations: 0.875 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6645, allocations: 3.984 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6646, allocations: 8.203 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.6651, allocations: 457.8 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.6653, allocations: 87.91 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.6654, allocations: 39 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.6654, allocations: 1.094 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.6654, allocations: 36.45 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.6654, allocations: 5.031 kB / 1.355 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002181/0.6656, allocations: 94.47 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.415e-05/0.6657, allocations: 57.41 kB / 1.355 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.6658, allocations: 131.1 kB / 1.355 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.6658, allocations: 26.5 kB / 1.355 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.6658, allocations: 108.8 kB / 1.355 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.6658, allocations: 29.5 kB / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.6658, allocations: 0 / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.6659, allocations: 323.3 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.6659, allocations: 31.88 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.666, allocations: 25.64 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.6661, allocations: 26.2 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6661, allocations: 0 / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001552/0.6662, allocations: 99.97 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.6662, allocations: 5.5 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6662, allocations: 0 / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.6663, allocations: 1.562 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.6664, allocations: 32.38 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.6665, allocations: 0.8438 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.6666, allocations: 13.11 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6666, allocations: 7.219 kB / 1.356 GB, free: 14 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.48e-05/0.6666, allocations: 111.9 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.6667, allocations: 12.2 kB / 1.356 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.6667, allocations: 13.94 kB / 1.356 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6667, allocations: 2.203 kB / 1.356 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6667, allocations: 0.8125 kB / 1.356 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6667, allocations: 4.5 kB / 1.356 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.6669, allocations: 205.5 kB / 1.356 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6669, allocations: 0.5625 kB / 1.356 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.6671, allocations: 35.28 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6671, allocations: 1.516 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6671, allocations: 2.094 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6671, allocations: 0.8438 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6671, allocations: 0 / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001664/0.6673, allocations: 202.9 kB / 1.356 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.6673, allocations: 87.3 kB / 1.356 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6673, allocations: 1 kB / 1.356 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.6675, allocations: 12.77 kB / 1.356 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.6675, allocations: 24.14 kB / 1.356 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.6676, allocations: 7.453 kB / 1.356 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.069e-05/0.6676, allocations: 108.9 kB / 1.356 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002259/0.6678, allocations: 20.2 kB / 1.356 GB, free: 13.37 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 9.734e-05/0.6679, allocations: 108.7 kB / 1.356 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.6681, allocations: 72.64 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.6681, allocations: 0 / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.6682, allocations: 46.91 kB / 1.357 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.6684, allocations: 12.94 kB / 1.357 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.6687, allocations: 167.1 kB / 1.357 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.6689, allocations: 0.7354 MB / 1.357 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of SimCode: time 2.1e-07/0.6689, allocations: 0 / 1.357 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.003439/0.6724, allocations: 1.383 MB / 1.359 GB, free: 12.38 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches