Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") [: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 2.03/2.03, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001033/0.001033, allocations: 189.2 kB / 490.8 MB, free: 1.938 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.398/1.398, allocations: 221.4 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 94.47 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.587e-06/8.607e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2549, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/4.511, allocations: 2.184 GB / 3.396 GB, free: 124.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/4.511, allocations: 99.94 kB / 3.396 GB, free: 124.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.087/8.599, allocations: 1.248 GB / 4.645 GB, free: 164.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007316/8.599, allocations: 87.5 kB / 4.645 GB, free: 164.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01018/8.61, allocations: 3.473 MB / 4.648 GB, free: 162.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/8.61, allocations: 14.69 kB / 4.648 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/8.613, allocations: 0.5237 MB / 4.649 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009471/8.622, allocations: 3.359 MB / 4.652 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/8.623, allocations: 66 kB / 4.652 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/8.623, allocations: 122.1 kB / 4.652 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004114/8.628, allocations: 1.758 MB / 4.654 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/8.632, allocations: 2.116 MB / 4.656 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/8.632, allocations: 3.656 kB / 4.656 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/8.632, allocations: 3.719 kB / 4.656 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/8.633, allocations: 70.77 kB / 4.656 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/8.649, allocations: 10.32 MB / 4.666 GB, free: 149.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/8.65, allocations: 1.016 MB / 4.667 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/8.652, allocations: 0.9165 MB / 4.668 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008124/8.652, allocations: 1.177 MB / 4.669 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/8.652, allocations: 48.31 kB / 4.669 GB, free: 147.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.667e-06/8.653, allocations: 0.6875 kB / 4.669 GB, free: 147.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.01081/8.663, allocations: 4.269 MB / 4.673 GB, free: 144.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/8.663, allocations: 286.1 kB / 4.673 GB, free: 144.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005958/8.669, allocations: 2.578 MB / 4.676 GB, free: 143.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003612/8.67, allocations: 32.36 kB / 4.676 GB, free: 143 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009299/8.671, allocations: 0.8519 MB / 4.677 GB, free: 142.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/8.671, allocations: 382.6 kB / 4.677 GB, free: 142 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/8.672, allocations: 3.75 kB / 4.677 GB, free: 142 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001235/8.672, allocations: 362.3 kB / 4.678 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/8.673, allocations: 0.996 MB / 4.679 GB, free: 141.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/8.675, allocations: 1.387 MB / 4.68 GB, free: 140.2 MB / 1.167 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005834/8.681, allocations: 2.557 MB / 4.682 GB, free: 138.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/8.681, allocations: 1.938 kB / 4.682 GB, free: 138.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005479/8.686, allocations: 2.583 MB / 4.685 GB, free: 137.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005269/8.687, allocations: 2.493 MB / 4.687 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/8.687, allocations: 9.891 kB / 4.687 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.157e-05/8.687, allocations: 12.69 kB / 4.687 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/8.688, allocations: 264.8 kB / 4.688 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004077/8.689, allocations: 0.6316 MB / 4.688 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/8.692, allocations: 147.9 kB / 4.688 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/8.692, allocations: 74.78 kB / 4.688 GB, free: 134.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/8.692, allocations: 4 kB / 4.688 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003879/8.696, allocations: 2.274 MB / 4.691 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/8.696, allocations: 4 kB / 4.691 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/8.696, allocations: 12 kB / 4.691 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/8.697, allocations: 251.2 kB / 4.691 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/8.697, allocations: 15.94 kB / 4.691 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/8.7, allocations: 143.6 kB / 4.691 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/8.7, allocations: 79.88 kB / 4.691 GB, free: 131.9 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005651/8.7, allocations: 328 kB / 4.691 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009423/8.701, allocations: 280.5 kB / 4.692 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/8.705, allocations: 2.054 MB / 4.694 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/8.705, allocations: 15.5 kB / 4.694 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/8.705, allocations: 0 / 4.694 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/8.708, allocations: 1.87 MB / 4.696 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/8.719, allocations: 5.093 MB / 4.701 GB, free: 122.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/8.719, allocations: 11.94 kB / 4.701 GB, free: 122 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/8.72, allocations: 233.5 kB / 4.701 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/8.72, allocations: 8 kB / 4.701 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.927e-05/8.72, allocations: 31.89 kB / 4.701 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002385/8.721, allocations: 0.6131 MB / 4.701 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/8.721, allocations: 11.94 kB / 4.701 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004655/8.725, allocations: 3.993 MB / 4.705 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/8.727, allocations: 0.6535 MB / 4.706 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/8.728, allocations: 20 kB / 4.706 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/8.731, allocations: 132.1 kB / 4.706 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/8.731, allocations: 139.5 kB / 4.706 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/8.731, allocations: 51.98 kB / 4.706 GB, free: 115.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.004042/8.735, allocations: 1.96 MB / 4.708 GB, free: 113.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006821/8.742, allocations: 1.324 MB / 4.71 GB, free: 112.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004927/8.747, allocations: 2.942 MB / 4.712 GB, free: 110.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005725/8.753, allocations: 4.07 MB / 4.716 GB, free: 105.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/8.753, allocations: 6 kB / 4.716 GB, free: 105.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/8.755, allocations: 1.679 MB / 4.718 GB, free: 104.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00711/8.762, allocations: 1.299 MB / 4.719 GB, free: 103 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/8.774, allocations: 4.874 MB / 4.724 GB, free: 98.16 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003438/8.778, allocations: 2.275 MB / 4.726 GB, free: 95.89 MB / 1.167 GB Notification: Performance of SimCode: time 2.926e-06/8.778, allocations: 0 / 4.726 GB, free: 95.89 MB / 1.167 GB Notification: Performance of Templates: time 0.1089/8.886, allocations: 73.44 MB / 4.798 GB, free: 24.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches