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.Overrides.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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") [: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.72 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.0009479/0.0009479, allocations: 184.6 kB / 487 MB, free: 5.418 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008444/0.0008444, allocations: 93.33 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.552e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1808, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5236/0.7044, allocations: 150.3 MB / 1.352 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.7046, allocations: 74.59 kB / 1.352 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01313/0.7178, allocations: 4.865 MB / 1.357 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.7178, allocations: 6.25 kB / 1.357 GB, free: 15.69 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008045/0.7186, allocations: 0.5866 MB / 1.357 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7187, allocations: 9.25 kB / 1.357 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.7188, allocations: 38.73 kB / 1.358 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.7189, allocations: 206.5 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.7189, allocations: 11.44 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.719, allocations: 22.75 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003361/0.7193, allocations: 169.3 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.7197, allocations: 252.1 kB / 1.358 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7197, allocations: 0 / 1.358 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.7198, allocations: 1.375 kB / 1.358 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.7198, allocations: 7.5 kB / 1.358 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.7209, allocations: 0.9003 MB / 1.359 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.7213, allocations: 198.2 kB / 1.359 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.7214, allocations: 84.67 kB / 1.359 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.7215, allocations: 6.625 kB / 1.359 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.7217, allocations: 161.8 kB / 1.359 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.7217, allocations: 0 / 1.359 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0004138/0.7221, allocations: 174 kB / 1.36 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.7222, allocations: 114.4 kB / 1.36 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.7224, allocations: 179.1 kB / 1.36 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.7224, allocations: 27.23 kB / 1.36 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.7225, allocations: 151.8 kB / 1.36 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.7225, allocations: 59.28 kB / 1.36 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.7226, allocations: 6.094 kB / 1.36 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.7226, allocations: 335.9 kB / 1.36 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.7228, allocations: 75.3 kB / 1.361 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.723, allocations: 122.3 kB / 1.361 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.7233, allocations: 82.66 kB / 1.361 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7233, allocations: 0.8438 kB / 1.361 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005998/0.7239, allocations: 241.4 kB / 1.361 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.7239, allocations: 12.41 kB / 1.361 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7239, allocations: 1.125 kB / 1.361 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.724, allocations: 6.156 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.7244, allocations: 67.86 kB / 1.361 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7244, allocations: 7.391 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.7248, allocations: 82.17 kB / 1.361 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.7249, allocations: 11.42 kB / 1.361 GB, free: 13.38 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001015/0.725, allocations: 116.8 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.7251, allocations: 25.67 kB / 1.361 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.7251, allocations: 30.78 kB / 1.361 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.7251, allocations: 8.234 kB / 1.361 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7252, allocations: 0.8438 kB / 1.361 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7252, allocations: 2.188 kB / 1.361 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.7256, allocations: 295.5 kB / 1.362 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7256, allocations: 1.766 kB / 1.362 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.7259, allocations: 69.12 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7259, allocations: 0.6562 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.726, allocations: 5.594 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.726, allocations: 4 kB / 1.362 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.726, allocations: 4 kB / 1.362 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003314/0.7263, allocations: 250.4 kB / 1.362 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.7264, allocations: 98.14 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.7264, allocations: 4.562 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.7266, allocations: 41.98 kB / 1.362 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.7268, allocations: 36.77 kB / 1.362 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.7268, allocations: 8.547 kB / 1.362 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.758e-05/0.7269, allocations: 132.7 kB / 1.362 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002864/0.7272, allocations: 68.77 kB / 1.362 GB, free: 12.47 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001596/0.7273, allocations: 125.1 kB / 1.362 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.7277, allocations: 214.2 kB / 1.363 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7277, allocations: 0 / 1.363 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.7279, allocations: 113.3 kB / 1.363 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.7281, allocations: 30.8 kB / 1.363 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.7288, allocations: 320.2 kB / 1.363 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.7292, allocations: 0.8023 MB / 1.364 GB, free: 27.06 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/0.7292, allocations: 0 / 1.364 GB, free: 27.06 MB / 0.823 GB Notification: Performance of Templates: time 0.005774/0.735, allocations: 3.395 MB / 1.367 GB, free: 24.46 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches