Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") [: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 7.0.3-maint.7.0.x/package.mo): time 1.195/1.195, allocations: 249.4 MB / 256.7 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 195.9 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008421/0.0008421, allocations: 86.64 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.402e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8607/1.003, allocations: 405.4 MB / 1.28 GB, free: 326.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.003, allocations: 102.9 kB / 1.281 GB, free: 326.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.8199/1.823, allocations: 351.4 MB / 1.624 GB, free: 200 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.631e-05/1.823, allocations: 22.28 kB / 1.624 GB, free: 200 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001633/1.825, allocations: 1.435 MB / 1.625 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/1.825, allocations: 14.03 kB / 1.625 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/1.825, allocations: 129.4 kB / 1.625 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/1.827, allocations: 1.181 MB / 1.626 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.827, allocations: 21.78 kB / 1.626 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/1.827, allocations: 43.94 kB / 1.627 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007724/1.828, allocations: 0.5458 MB / 1.627 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/1.829, allocations: 0.6917 MB / 1.628 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.829, allocations: 3.938 kB / 1.628 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/1.829, allocations: 0 / 1.628 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/1.829, allocations: 15.12 kB / 1.628 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/1.832, allocations: 3.282 MB / 1.631 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/1.833, allocations: 413.3 kB / 1.631 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/1.833, allocations: 279.6 kB / 1.632 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/1.833, allocations: 0.7781 MB / 1.632 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/1.833, allocations: 34.12 kB / 1.632 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.433e-06/1.833, allocations: 3.312 kB / 1.632 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001072/1.834, allocations: 0.6537 MB / 1.633 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.834, allocations: 146.1 kB / 1.633 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/1.835, allocations: 0.8059 MB / 1.634 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/1.835, allocations: 33.27 kB / 1.634 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.835, allocations: 331.8 kB / 1.634 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/1.836, allocations: 122.9 kB / 1.634 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/1.836, allocations: 3.219 kB / 1.634 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/1.836, allocations: 326.8 kB / 1.635 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/1.836, allocations: 316 kB / 1.635 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/1.836, allocations: 424.5 kB / 1.635 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/1.837, allocations: 397.7 kB / 1.636 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.837, allocations: 0 / 1.636 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001202/1.838, allocations: 0.881 MB / 1.637 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.423e-05/1.838, allocations: 0.7006 MB / 1.637 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.838, allocations: 0 / 1.637 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.838, allocations: 3.938 kB / 1.637 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/1.839, allocations: 83.17 kB / 1.637 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.839, allocations: 11.69 kB / 1.637 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/1.839, allocations: 87.7 kB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/1.839, allocations: 29.12 kB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-06/1.839, allocations: 3.938 kB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/1.84, allocations: 0.759 MB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/1.84, allocations: 0 / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/1.84, allocations: 3.844 kB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/1.841, allocations: 94.92 kB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/1.841, allocations: 3.969 kB / 1.638 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/1.841, allocations: 73.48 kB / 1.639 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/1.841, allocations: 25.92 kB / 1.639 GB, free: 194.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * 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.0001225/1.841, allocations: 207.2 kB / 1.639 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.842, allocations: 93.75 kB / 1.639 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/1.843, allocations: 0.8145 MB / 1.64 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.843, allocations: 6.656 kB / 1.64 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.843, allocations: 0 / 1.64 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009136/1.844, allocations: 0.8811 MB / 1.64 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/1.846, allocations: 1.891 MB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.846, allocations: 3.781 kB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/1.846, allocations: 68.34 kB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.846, allocations: 3.938 kB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/1.846, allocations: 11.19 kB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.846, allocations: 3.906 kB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.846, allocations: 5.656 kB / 1.642 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001439/1.848, allocations: 1.378 MB / 1.644 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/1.848, allocations: 273.4 kB / 1.644 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.848, allocations: 10.06 kB / 1.644 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/1.849, allocations: 50.06 kB / 1.644 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.849, allocations: 41.95 kB / 1.644 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/1.849, allocations: 26.39 kB / 1.644 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005934/1.85, allocations: 0.6212 MB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001255/1.851, allocations: 0.5808 MB / 1.645 GB, free: 193.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.0009275/1.852, allocations: 0.7188 MB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001161/1.853, allocations: 1.405 MB / 1.647 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.853, allocations: 3.625 kB / 1.647 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/1.853, allocations: 458.5 kB / 1.648 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.855, allocations: 392.3 kB / 1.648 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/1.857, allocations: 1.488 MB / 1.65 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/1.857, allocations: 1.166 MB / 1.651 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/1.857, allocations: 0 / 1.651 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02737/1.885, allocations: 22.98 MB / 1.673 GB, free: 191 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches