Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.04/2.04, 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.001164/0.001164, allocations: 181.3 kB / 487 MB, free: 5.32 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.486/1.486, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0009457/0.0009457, allocations: 102.5 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.605e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2692, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.614/4.883, allocations: 2.182 GB / 3.387 GB, free: 119.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.884, allocations: 99.94 kB / 3.387 GB, free: 119.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.919/7.803, allocations: 0.8849 GB / 4.272 GB, free: 108 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004003/7.803, allocations: 55.3 kB / 4.272 GB, free: 108 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.006802/7.81, allocations: 2.368 MB / 4.274 GB, free: 105.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/7.81, allocations: 9.031 kB / 4.274 GB, free: 105.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/7.813, allocations: 388.3 kB / 4.275 GB, free: 105.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00557/7.818, allocations: 2.085 MB / 4.277 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/7.818, allocations: 40 kB / 4.277 GB, free: 103 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005224/7.819, allocations: 95.62 kB / 4.277 GB, free: 103 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002687/7.822, allocations: 1.134 MB / 4.278 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/7.825, allocations: 1.39 MB / 4.279 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/7.825, allocations: 4 kB / 4.279 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/7.825, allocations: 0 / 4.279 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/7.825, allocations: 46.53 kB / 4.279 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/7.836, allocations: 6.781 MB / 4.286 GB, free: 93.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/7.837, allocations: 0.6572 MB / 4.287 GB, free: 92.71 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007339/7.838, allocations: 0.5856 MB / 4.287 GB, free: 92.13 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005554/7.839, allocations: 0.6848 MB / 4.288 GB, free: 91.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/7.839, allocations: 43.69 kB / 4.288 GB, free: 91.25 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.377e-06/7.839, allocations: 0 / 4.288 GB, free: 91.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.00647/7.845, allocations: 2.765 MB / 4.291 GB, free: 88.43 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/7.845, allocations: 196.6 kB / 4.291 GB, free: 88.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/7.849, allocations: 1.512 MB / 4.292 GB, free: 86.69 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/7.849, allocations: 29.7 kB / 4.292 GB, free: 86.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/7.849, allocations: 0.5762 MB / 4.293 GB, free: 86.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/7.85, allocations: 283.5 kB / 4.293 GB, free: 85.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/7.85, allocations: 4 kB / 4.293 GB, free: 85.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/7.85, allocations: 345.9 kB / 4.294 GB, free: 85.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/7.851, allocations: 0.5798 MB / 4.294 GB, free: 84.87 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/7.851, allocations: 0.8215 MB / 4.295 GB, free: 83.96 MB / 1.151 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.004178/7.856, allocations: 2.184 MB / 4.297 GB, free: 81.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/7.856, allocations: 4 kB / 4.297 GB, free: 81.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002603/7.858, allocations: 1.547 MB / 4.299 GB, free: 80.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/7.859, allocations: 1.459 MB / 4.3 GB, free: 78.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/7.859, allocations: 4.047 kB / 4.3 GB, free: 78.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/7.859, allocations: 11.98 kB / 4.3 GB, free: 78.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/7.859, allocations: 175.3 kB / 4.3 GB, free: 78.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/7.859, allocations: 15.92 kB / 4.3 GB, free: 78.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/7.861, allocations: 105.3 kB / 4.3 GB, free: 78.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/7.861, allocations: 47.98 kB / 4.3 GB, free: 78.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/7.861, allocations: 4 kB / 4.3 GB, free: 78.29 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/7.863, allocations: 1.339 MB / 4.302 GB, free: 76.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/7.863, allocations: 11.89 kB / 4.302 GB, free: 76.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/7.864, allocations: 8 kB / 4.302 GB, free: 76.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/7.864, allocations: 171.7 kB / 4.302 GB, free: 76.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/7.864, allocations: 14.81 kB / 4.302 GB, free: 76.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/7.866, allocations: 98.06 kB / 4.302 GB, free: 76.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/7.866, allocations: 47.7 kB / 4.302 GB, free: 76.62 MB / 1.151 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.0003139/7.866, allocations: 221.9 kB / 4.302 GB, free: 76.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/7.867, allocations: 177.8 kB / 4.302 GB, free: 76.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/7.869, allocations: 1.278 MB / 4.304 GB, free: 74.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/7.869, allocations: 15.94 kB / 4.304 GB, free: 74.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/7.869, allocations: 0 / 4.304 GB, free: 74.89 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/7.871, allocations: 1.375 MB / 4.305 GB, free: 73.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006474/7.877, allocations: 3.28 MB / 4.308 GB, free: 70.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/7.877, allocations: 4 kB / 4.308 GB, free: 70.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/7.878, allocations: 175.2 kB / 4.308 GB, free: 69.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/7.878, allocations: 8 kB / 4.308 GB, free: 69.89 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/7.878, allocations: 16 kB / 4.308 GB, free: 69.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/7.878, allocations: 11.98 kB / 4.308 GB, free: 69.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/7.878, allocations: 11.94 kB / 4.308 GB, free: 69.86 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002942/7.881, allocations: 2.507 MB / 4.311 GB, free: 67.18 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/7.883, allocations: 430.8 kB / 4.311 GB, free: 66.74 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000571/7.883, allocations: 19.98 kB / 4.311 GB, free: 66.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/7.885, allocations: 89.73 kB / 4.311 GB, free: 66.64 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/7.885, allocations: 87.34 kB / 4.311 GB, free: 66.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/7.885, allocations: 39.98 kB / 4.311 GB, free: 66.52 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002342/7.887, allocations: 1.15 MB / 4.313 GB, free: 65.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004016/7.891, allocations: 0.8982 MB / 4.313 GB, free: 64.48 MB / 1.151 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.medium.Xi[1],vol.dynBal.U,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.00381/7.895, allocations: 2.4 MB / 4.316 GB, free: 62.28 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003037/7.898, allocations: 2.371 MB / 4.318 GB, free: 59.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/7.898, allocations: 4 kB / 4.318 GB, free: 59.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/7.899, allocations: 0.9065 MB / 4.319 GB, free: 58.91 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/7.904, allocations: 0.8094 MB / 4.32 GB, free: 58.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/7.911, allocations: 3.128 MB / 4.323 GB, free: 54.87 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/7.913, allocations: 1.691 MB / 4.325 GB, free: 53.15 MB / 1.151 GB Notification: Performance of SimCode: time 1.553e-06/7.914, allocations: 0 / 4.325 GB, free: 53.15 MB / 1.151 GB Notification: Performance of Templates: time 0.07284/7.986, allocations: 48.67 MB / 4.372 GB, free: 4.969 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches