Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009958/0.0009957, allocations: 185.8 kB / 490.8 MB, free: 11.21 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.372/1.372, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.0009429, allocations: 103 kB / 0.9264 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.039e-05, allocations: 4 kB / 1.072 GB, free: 8 kB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.702, allocations: 143 MB / 1.212 GB, free: 53.65 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9628/1.665, allocations: 424.5 MB / 1.626 GB, free: 75.77 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.665, allocations: 99.67 kB / 1.626 GB, free: 75.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.275/2.94, allocations: 369.2 MB / 1.987 GB, free: 321.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001642/2.94, allocations: 26.81 kB / 1.987 GB, free: 321.7 MB / 1.151 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.00318/2.944, allocations: 1.434 MB / 1.988 GB, free: 320.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/2.944, allocations: 18.31 kB / 1.988 GB, free: 320.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/2.944, allocations: 130.6 kB / 1.988 GB, free: 320.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/2.947, allocations: 1.192 MB / 1.989 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/2.947, allocations: 24.81 kB / 1.989 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/2.947, allocations: 39.41 kB / 1.99 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/2.948, allocations: 0.5377 MB / 1.99 GB, free: 320.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/2.949, allocations: 0.6911 MB / 1.991 GB, free: 320.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/2.949, allocations: 0 / 1.991 GB, free: 320.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/2.949, allocations: 3.219 kB / 1.991 GB, free: 320.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/2.949, allocations: 15.72 kB / 1.991 GB, free: 320.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/2.954, allocations: 3.301 MB / 1.994 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/2.955, allocations: 411 kB / 1.994 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/2.955, allocations: 278.8 kB / 1.995 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/2.956, allocations: 0.7704 MB / 1.995 GB, free: 318.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/2.956, allocations: 37.03 kB / 1.995 GB, free: 318.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/2.956, allocations: 0 / 1.995 GB, free: 318.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001328/2.957, allocations: 0.6569 MB / 1.996 GB, free: 318.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/2.957, allocations: 143.1 kB / 1.996 GB, free: 318 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/2.958, allocations: 0.8088 MB / 1.997 GB, free: 317.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/2.958, allocations: 28.8 kB / 1.997 GB, free: 317.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/2.959, allocations: 332.8 kB / 1.997 GB, free: 317.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/2.959, allocations: 123.9 kB / 1.997 GB, free: 317.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/2.959, allocations: 3.719 kB / 1.997 GB, free: 317.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/2.959, allocations: 325 kB / 1.998 GB, free: 317.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/2.959, allocations: 322.2 kB / 1.998 GB, free: 317 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/2.96, allocations: 414.7 kB / 1.998 GB, free: 316.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/2.96, allocations: 395.7 kB / 1.999 GB, free: 316.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/2.96, allocations: 4.219 kB / 1.999 GB, free: 316.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001436/2.962, allocations: 0.883 MB / 2 GB, free: 316.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/2.962, allocations: 0.6954 MB / 2 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/2.962, allocations: 6.844 kB / 2 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/2.962, allocations: 3.844 kB / 2 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/2.962, allocations: 92.42 kB / 2 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/2.962, allocations: 7.438 kB / 2 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/2.963, allocations: 77.33 kB / 2.001 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/2.963, allocations: 26.22 kB / 2.001 GB, free: 315.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/2.963, allocations: 3.938 kB / 2.001 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/2.964, allocations: 0.7656 MB / 2.001 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/2.964, allocations: 3.906 kB / 2.001 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/2.964, allocations: 3.875 kB / 2.001 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/2.965, allocations: 89.06 kB / 2.001 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/2.965, allocations: 10.06 kB / 2.001 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/2.965, allocations: 61.56 kB / 2.001 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/2.965, allocations: 26.86 kB / 2.002 GB, free: 315.3 MB / 1.151 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.0001732/2.966, allocations: 215.2 kB / 2.002 GB, free: 315.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/2.966, allocations: 85.09 kB / 2.002 GB, free: 315.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/2.967, allocations: 0.8117 MB / 2.003 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/2.967, allocations: 3.875 kB / 2.003 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/2.967, allocations: 3.875 kB / 2.003 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/2.968, allocations: 0.8866 MB / 2.003 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/2.971, allocations: 1.888 MB / 2.005 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/2.971, allocations: 0 / 2.005 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/2.971, allocations: 74.58 kB / 2.005 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/2.971, allocations: 3.969 kB / 2.005 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/2.971, allocations: 10.91 kB / 2.005 GB, free: 313.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/2.971, allocations: 7 kB / 2.005 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.971, allocations: 8.781 kB / 2.005 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001588/2.973, allocations: 1.375 MB / 2.007 GB, free: 312.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/2.973, allocations: 289.6 kB / 2.007 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/2.973, allocations: 7.031 kB / 2.007 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/2.974, allocations: 38.12 kB / 2.007 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/2.974, allocations: 48.88 kB / 2.007 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/2.974, allocations: 15.72 kB / 2.007 GB, free: 312.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007075/2.975, allocations: 0.6281 MB / 2.008 GB, free: 311.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001621/2.976, allocations: 0.5708 MB / 2.008 GB, free: 311.8 MB / 1.151 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.001134/2.978, allocations: 0.7154 MB / 2.009 GB, free: 311.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001384/2.979, allocations: 1.405 MB / 2.01 GB, free: 310.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/2.979, allocations: 3.031 kB / 2.01 GB, free: 310.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004421/2.979, allocations: 465.1 kB / 2.011 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/2.981, allocations: 374 kB / 2.011 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/2.983, allocations: 1.492 MB / 2.013 GB, free: 309.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/2.984, allocations: 1.179 MB / 2.014 GB, free: 309.2 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/2.984, allocations: 0 / 2.014 GB, free: 309.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04155/3.026, allocations: 22.85 MB / 2.036 GB, free: 303.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches