Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001266/0.001266, allocations: 184.4 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.509/1.509, allocations: 221.3 MB / 0.7819 GB, free: 1.504 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.001043/0.001043, allocations: 91.12 kB / 0.9213 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.444e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2891, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.305, allocations: 423.7 MB / 1.619 GB, free: 128 kB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.305, allocations: 108.5 kB / 1.619 GB, free: 64 kB / 1.042 GB Notification: Performance of FrontEnd: time 1.323/2.628, allocations: 369.1 MB / 1.98 GB, free: 163.2 MB / 1.135 GB Notification: Performance of Transformations before backend: time 9.428e-05/2.628, allocations: 27.75 kB / 1.98 GB, free: 163.2 MB / 1.135 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.001967/2.63, allocations: 1.445 MB / 1.981 GB, free: 161.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/2.63, allocations: 9.031 kB / 1.981 GB, free: 161.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/2.63, allocations: 130.5 kB / 1.981 GB, free: 161.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/2.632, allocations: 1.192 MB / 1.982 GB, free: 160.3 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/2.632, allocations: 20 kB / 1.982 GB, free: 160.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/2.632, allocations: 43.91 kB / 1.982 GB, free: 160.2 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007687/2.633, allocations: 0.5415 MB / 1.983 GB, free: 159.7 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/2.634, allocations: 0.6939 MB / 1.984 GB, free: 159 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/2.634, allocations: 0 / 1.984 GB, free: 159 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/2.634, allocations: 4 kB / 1.984 GB, free: 159 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/2.634, allocations: 24 kB / 1.984 GB, free: 158.9 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/2.638, allocations: 3.279 MB / 1.987 GB, free: 155.6 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/2.638, allocations: 421.9 kB / 1.987 GB, free: 155.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/2.638, allocations: 281 kB / 1.987 GB, free: 154.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/2.639, allocations: 0.7717 MB / 1.988 GB, free: 153.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/2.639, allocations: 38.84 kB / 1.988 GB, free: 153.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/2.639, allocations: 0 / 1.988 GB, free: 153.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=37): time 0.00106/2.64, allocations: 0.6494 MB / 1.989 GB, free: 153.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/2.64, allocations: 144.8 kB / 1.989 GB, free: 153 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/2.641, allocations: 0.802 MB / 1.99 GB, free: 152.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/2.641, allocations: 33.69 kB / 1.99 GB, free: 152.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/2.641, allocations: 335.7 kB / 1.99 GB, free: 151.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/2.641, allocations: 126.1 kB / 1.99 GB, free: 151.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/2.641, allocations: 0 / 1.99 GB, free: 151.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/2.641, allocations: 333.8 kB / 1.991 GB, free: 151.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/2.642, allocations: 316.8 kB / 1.991 GB, free: 151.1 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/2.642, allocations: 422.9 kB / 1.991 GB, free: 150.6 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/2.643, allocations: 396.1 kB / 1.992 GB, free: 150.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.643, allocations: 0 / 1.992 GB, free: 150.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001245/2.644, allocations: 0.875 MB / 1.993 GB, free: 149.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/2.644, allocations: 0.7079 MB / 1.993 GB, free: 148.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/2.644, allocations: 4 kB / 1.993 GB, free: 148.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/2.644, allocations: 4 kB / 1.993 GB, free: 148.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/2.644, allocations: 83.89 kB / 1.993 GB, free: 148.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/2.644, allocations: 4 kB / 1.993 GB, free: 148.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/2.645, allocations: 75.55 kB / 1.993 GB, free: 148.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/2.645, allocations: 35.97 kB / 1.993 GB, free: 148.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/2.645, allocations: 10.28 kB / 1.993 GB, free: 148.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/2.646, allocations: 0.7498 MB / 1.994 GB, free: 147.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/2.646, allocations: 7.938 kB / 1.994 GB, free: 147.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/2.646, allocations: 4 kB / 1.994 GB, free: 147.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/2.647, allocations: 96.09 kB / 1.994 GB, free: 147.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/2.647, allocations: 4 kB / 1.994 GB, free: 147.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/2.647, allocations: 63.56 kB / 1.994 GB, free: 147.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/2.647, allocations: 28.06 kB / 1.994 GB, free: 147.4 MB / 1.135 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.0001313/2.647, allocations: 217.9 kB / 1.995 GB, free: 147.2 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/2.647, allocations: 90.88 kB / 1.995 GB, free: 147.1 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/2.649, allocations: 0.8092 MB / 1.995 GB, free: 146.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/2.649, allocations: 8 kB / 1.995 GB, free: 146.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/2.649, allocations: 0 / 1.995 GB, free: 146.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009294/2.65, allocations: 0.8808 MB / 1.996 GB, free: 145.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/2.652, allocations: 1.894 MB / 1.998 GB, free: 143.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/2.652, allocations: 4 kB / 1.998 GB, free: 143.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/2.652, allocations: 72.14 kB / 1.998 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/2.652, allocations: 4 kB / 1.998 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/2.652, allocations: 12 kB / 1.998 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/2.652, allocations: 7.938 kB / 1.998 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.652, allocations: 0 / 1.998 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001539/2.654, allocations: 1.377 MB / 2 GB, free: 141.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/2.654, allocations: 275.8 kB / 2 GB, free: 141.5 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/2.655, allocations: 8 kB / 2 GB, free: 141.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/2.655, allocations: 43.94 kB / 2 GB, free: 141.5 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/2.655, allocations: 43.95 kB / 2 GB, free: 141.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/2.655, allocations: 19.98 kB / 2 GB, free: 141.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0007203/2.656, allocations: 0.6243 MB / 2.001 GB, free: 140.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001606/2.658, allocations: 0.5806 MB / 2.001 GB, free: 140.2 MB / 1.135 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.001083/2.659, allocations: 0.7218 MB / 2.002 GB, free: 139.5 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001341/2.66, allocations: 1.405 MB / 2.003 GB, free: 138 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/2.66, allocations: 8.875 kB / 2.003 GB, free: 138 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/2.66, allocations: 457.2 kB / 2.004 GB, free: 137.6 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/2.662, allocations: 383 kB / 2.004 GB, free: 137.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/2.665, allocations: 1.497 MB / 2.006 GB, free: 135.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007075/2.666, allocations: 1.178 MB / 2.007 GB, free: 134.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.332e-06/2.666, allocations: 0 / 2.007 GB, free: 134.4 MB / 1.135 GB Notification: Performance of Templates: time 0.03376/2.699, allocations: 22.85 MB / 2.029 GB, free: 111.9 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches