Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001013/0.001013, allocations: 189.3 kB / 316 MB, free: 3.531 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.074/1.074, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008489/0.0008489, allocations: 93.44 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.893e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1552, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.247/4.402, allocations: 2.459 GB / 3.344 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/4.403, allocations: 94.16 kB / 3.344 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.032/6.434, allocations: 0.8504 GB / 4.194 GB, free: 73.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001592/6.435, allocations: 53.72 kB / 4.194 GB, free: 73.92 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003516/6.438, allocations: 2.363 MB / 4.197 GB, free: 71.48 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/6.438, allocations: 8.031 kB / 4.197 GB, free: 71.48 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/6.44, allocations: 391.7 kB / 4.197 GB, free: 71.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/6.443, allocations: 2.074 MB / 4.199 GB, free: 69.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/6.443, allocations: 50.69 kB / 4.199 GB, free: 68.97 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/6.443, allocations: 95.48 kB / 4.199 GB, free: 68.88 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001734/6.445, allocations: 1.126 MB / 4.2 GB, free: 67.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/6.447, allocations: 1.395 MB / 4.202 GB, free: 66.31 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/6.447, allocations: 11.92 kB / 4.202 GB, free: 66.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.89e-05/6.447, allocations: 0 / 4.202 GB, free: 66.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/6.447, allocations: 50.45 kB / 4.202 GB, free: 66.25 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007546/6.455, allocations: 6.715 MB / 4.208 GB, free: 59.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/6.456, allocations: 0.9006 MB / 4.209 GB, free: 58.51 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/6.457, allocations: 0.5824 MB / 4.21 GB, free: 57.93 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/6.457, allocations: 0.6877 MB / 4.21 GB, free: 57.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/6.457, allocations: 47.22 kB / 4.21 GB, free: 57.04 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=83): time 2.815e-06/6.457, allocations: 0 / 4.21 GB, free: 57.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85): time 0.004556/6.462, allocations: 2.745 MB / 4.213 GB, free: 54.23 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/6.462, allocations: 200.6 kB / 4.213 GB, free: 54 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/6.464, allocations: 1.513 MB / 4.215 GB, free: 52.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/6.464, allocations: 32.86 kB / 4.215 GB, free: 52.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/6.464, allocations: 0.5808 MB / 4.215 GB, free: 51.86 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/6.464, allocations: 279.7 kB / 4.216 GB, free: 51.58 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/6.464, allocations: 8 kB / 4.216 GB, free: 51.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/6.464, allocations: 337.9 kB / 4.216 GB, free: 51.24 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/6.465, allocations: 0.5721 MB / 4.216 GB, free: 50.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/6.466, allocations: 0.8375 MB / 4.217 GB, free: 49.74 MB / 0.9011 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/6.469, allocations: 2.164 MB / 4.219 GB, free: 47.55 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/6.469, allocations: 4 kB / 4.219 GB, free: 47.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002077/6.471, allocations: 1.543 MB / 4.221 GB, free: 46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000234/6.472, allocations: 1.457 MB / 4.222 GB, free: 44.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/6.472, allocations: 4 kB / 4.222 GB, free: 44.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/6.472, allocations: 11.31 kB / 4.222 GB, free: 44.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/6.473, allocations: 183.7 kB / 4.223 GB, free: 44.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/6.473, allocations: 10.11 kB / 4.223 GB, free: 44.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/6.474, allocations: 96.81 kB / 4.223 GB, free: 44.15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/6.474, allocations: 51.98 kB / 4.223 GB, free: 44.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/6.474, allocations: 4 kB / 4.223 GB, free: 44.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001648/6.476, allocations: 1.343 MB / 4.224 GB, free: 42.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/6.476, allocations: 4 kB / 4.224 GB, free: 42.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/6.476, allocations: 8 kB / 4.224 GB, free: 42.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/6.476, allocations: 186.4 kB / 4.224 GB, free: 42.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/6.476, allocations: 8 kB / 4.224 GB, free: 42.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/6.478, allocations: 96.7 kB / 4.224 GB, free: 42.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/6.478, allocations: 47.98 kB / 4.224 GB, free: 42.43 MB / 0.9011 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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.0002384/6.478, allocations: 226 kB / 4.225 GB, free: 42.18 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/6.478, allocations: 176.9 kB / 4.225 GB, free: 42.01 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/6.48, allocations: 1.284 MB / 4.226 GB, free: 40.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/6.48, allocations: 8 kB / 4.226 GB, free: 40.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/6.48, allocations: 0 / 4.226 GB, free: 40.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/6.481, allocations: 1.372 MB / 4.227 GB, free: 39.25 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/6.486, allocations: 3.279 MB / 4.231 GB, free: 35.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/6.486, allocations: 4 kB / 4.231 GB, free: 35.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/6.486, allocations: 167.8 kB / 4.231 GB, free: 35.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/6.486, allocations: 8 kB / 4.231 GB, free: 35.72 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/6.487, allocations: 16 kB / 4.231 GB, free: 35.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/6.487, allocations: 18.89 kB / 4.231 GB, free: 35.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/6.487, allocations: 4 kB / 4.231 GB, free: 35.69 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002388/6.489, allocations: 2.53 MB / 4.233 GB, free: 32.99 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/6.49, allocations: 438.7 kB / 4.234 GB, free: 32.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/6.49, allocations: 12 kB / 4.234 GB, free: 32.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/6.491, allocations: 91.36 kB / 4.234 GB, free: 32.45 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/6.491, allocations: 86.89 kB / 4.234 GB, free: 32.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/6.491, allocations: 39.98 kB / 4.234 GB, free: 32.32 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001319/6.492, allocations: 1.153 MB / 4.235 GB, free: 31.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002178/6.495, allocations: 0.9087 MB / 4.236 GB, free: 30.28 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.002415/6.497, allocations: 2.394 MB / 4.238 GB, free: 28.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002293/6.499, allocations: 2.368 MB / 4.24 GB, free: 25.86 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/6.499, allocations: 0 / 4.24 GB, free: 25.86 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008815/6.5, allocations: 0.9123 MB / 4.241 GB, free: 24.93 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/6.504, allocations: 0.8171 MB / 4.242 GB, free: 24.18 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/6.509, allocations: 3.13 MB / 4.245 GB, free: 21.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/6.51, allocations: 1.704 MB / 4.247 GB, free: 19.38 MB / 0.9011 GB Notification: Performance of SimCode: time 5.61e-07/6.51, allocations: 0 / 4.247 GB, free: 19.38 MB / 0.9011 GB Notification: Performance of Templates: time 0.4173/6.927, allocations: 48.92 MB / 4.295 GB, free: 122.8 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches