Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.775/1.775, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0008968/0.0008968, allocations: 176.5 kB / 487 MB, free: 5.41 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0008935/0.0008935, allocations: 101.7 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.492e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1774, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.6513, allocations: 149.3 MB / 1.351 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.6515, allocations: 74.38 kB / 1.351 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005385/0.6569, allocations: 2.119 MB / 1.353 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6569, allocations: 2.5 kB / 1.353 GB, free: 15.84 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.000392/0.6573, allocations: 425.1 kB / 1.354 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.6574, allocations: 9.844 kB / 1.354 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.6574, allocations: 15.81 kB / 1.354 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.6575, allocations: 184.2 kB / 1.354 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6576, allocations: 5.062 kB / 1.354 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.6576, allocations: 8 kB / 1.354 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/0.6578, allocations: 89.92 kB / 1.354 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.658, allocations: 117 kB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.658, allocations: 0 / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.658, allocations: 3.984 kB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.658, allocations: 4.469 kB / 1.354 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.6586, allocations: 454.5 kB / 1.354 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.6587, allocations: 87.38 kB / 1.355 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.6588, allocations: 33.86 kB / 1.355 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.6588, allocations: 10.28 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.6589, allocations: 34.84 kB / 1.355 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.6589, allocations: 0.7812 kB / 1.355 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002084/0.6591, allocations: 97.09 kB / 1.355 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/0.6591, allocations: 53.11 kB / 1.355 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.6592, allocations: 125.4 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.6592, allocations: 30.39 kB / 1.355 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.6592, allocations: 105.7 kB / 1.355 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.6593, allocations: 34.56 kB / 1.355 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.6593, allocations: 0 / 1.355 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.6593, allocations: 319.8 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.6594, allocations: 27.03 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.6594, allocations: 25.42 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.6595, allocations: 26.84 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6595, allocations: 0 / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001512/0.6596, allocations: 101.5 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.6596, allocations: 5.938 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.6597, allocations: 4 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.6597, allocations: 1.688 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.6598, allocations: 25.84 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.6599, allocations: 1.312 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.66, allocations: 17.19 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.66, allocations: 3.141 kB / 1.356 GB, free: 14.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.589e-05/0.66, allocations: 112.2 kB / 1.356 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.6601, allocations: 8.875 kB / 1.356 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.6601, allocations: 18.48 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6601, allocations: 1.781 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6601, allocations: 0.7812 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6601, allocations: 1.219 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.6603, allocations: 215.9 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6603, allocations: 0.875 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.6605, allocations: 27.81 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6605, allocations: 4.969 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6605, allocations: 2.062 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6605, allocations: 0.5625 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6605, allocations: 0.625 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001695/0.6607, allocations: 202 kB / 1.356 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.6607, allocations: 93.3 kB / 1.356 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.6607, allocations: 0.5156 kB / 1.356 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.6609, allocations: 12.73 kB / 1.356 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.6609, allocations: 24.52 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.661, allocations: 3.266 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.036e-05/0.661, allocations: 113.3 kB / 1.356 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002244/0.6612, allocations: 20.06 kB / 1.356 GB, free: 13.5 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.887e-05/0.6613, allocations: 106 kB / 1.356 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.6615, allocations: 72.16 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.6615, allocations: 0 / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.6616, allocations: 46.62 kB / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.6618, allocations: 14.27 kB / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.6621, allocations: 162.8 kB / 1.357 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.6624, allocations: 0.7357 MB / 1.357 GB, free: 28.59 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.6624, allocations: 4.844 kB / 1.357 GB, free: 28.59 MB / 0.823 GB Notification: Performance of Templates: time 0.003434/0.6659, allocations: 1.385 MB / 1.359 GB, free: 28.52 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches