Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.035/2.035, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001307/0.001307, allocations: 181.3 kB / 490.8 MB, free: 1.93 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.361/1.361, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.0009454/0.0009455, allocations: 92.67 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/8.015e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.252, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.228/4.48, allocations: 2.183 GB / 3.394 GB, free: 102 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/4.481, allocations: 95.2 kB / 3.394 GB, free: 101.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.653/7.133, allocations: 0.8849 GB / 4.279 GB, free: 89.54 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002139/7.134, allocations: 51.59 kB / 4.279 GB, free: 89.49 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.005506/7.139, allocations: 2.374 MB / 4.282 GB, free: 87.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/7.139, allocations: 8.031 kB / 4.282 GB, free: 87.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/7.141, allocations: 388.7 kB / 4.282 GB, free: 86.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004238/7.146, allocations: 2.082 MB / 4.284 GB, free: 84.56 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/7.146, allocations: 44 kB / 4.284 GB, free: 84.52 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/7.146, allocations: 88 kB / 4.284 GB, free: 84.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00192/7.148, allocations: 1.138 MB / 4.285 GB, free: 83.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/7.15, allocations: 1.387 MB / 4.287 GB, free: 81.85 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/7.15, allocations: 7.938 kB / 4.287 GB, free: 81.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/7.15, allocations: 3.906 kB / 4.287 GB, free: 81.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/7.15, allocations: 46.53 kB / 4.287 GB, free: 81.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009063/7.159, allocations: 6.78 MB / 4.293 GB, free: 74.79 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/7.16, allocations: 0.6532 MB / 4.294 GB, free: 74.13 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/7.161, allocations: 0.5889 MB / 4.294 GB, free: 73.54 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/7.161, allocations: 0.685 MB / 4.295 GB, free: 72.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/7.161, allocations: 47.12 kB / 4.295 GB, free: 72.65 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.857e-06/7.161, allocations: 0 / 4.295 GB, free: 72.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.005311/7.166, allocations: 2.754 MB / 4.298 GB, free: 69.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/7.167, allocations: 196.6 kB / 4.298 GB, free: 69.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/7.169, allocations: 1.512 MB / 4.299 GB, free: 68.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/7.169, allocations: 29.7 kB / 4.3 GB, free: 68.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/7.169, allocations: 0.5762 MB / 4.3 GB, free: 67.47 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/7.169, allocations: 279.7 kB / 4.3 GB, free: 67.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/7.169, allocations: 8 kB / 4.3 GB, free: 67.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/7.17, allocations: 345.9 kB / 4.301 GB, free: 66.84 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/7.17, allocations: 0.5799 MB / 4.301 GB, free: 66.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/7.171, allocations: 0.8225 MB / 4.302 GB, free: 65.35 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.003895/7.175, allocations: 2.187 MB / 4.304 GB, free: 63.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/7.175, allocations: 4 kB / 4.304 GB, free: 63.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002302/7.177, allocations: 1.547 MB / 4.306 GB, free: 61.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/7.177, allocations: 1.462 MB / 4.307 GB, free: 59.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/7.177, allocations: 4 kB / 4.307 GB, free: 59.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/7.178, allocations: 8 kB / 4.307 GB, free: 59.97 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/7.178, allocations: 171.7 kB / 4.307 GB, free: 59.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/7.178, allocations: 15.92 kB / 4.307 GB, free: 59.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/7.18, allocations: 103.8 kB / 4.307 GB, free: 59.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/7.18, allocations: 51.97 kB / 4.307 GB, free: 59.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.036e-06/7.18, allocations: 4 kB / 4.307 GB, free: 59.63 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001689/7.182, allocations: 1.341 MB / 4.309 GB, free: 58.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/7.182, allocations: 4 kB / 4.309 GB, free: 58.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/7.182, allocations: 8 kB / 4.309 GB, free: 58.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/7.182, allocations: 179.7 kB / 4.309 GB, free: 58.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/7.182, allocations: 15.84 kB / 4.309 GB, free: 58.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/7.184, allocations: 99.78 kB / 4.309 GB, free: 57.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/7.184, allocations: 47.98 kB / 4.309 GB, free: 57.94 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.000293/7.184, allocations: 227.6 kB / 4.309 GB, free: 57.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/7.185, allocations: 181.7 kB / 4.31 GB, free: 57.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/7.187, allocations: 1.275 MB / 4.311 GB, free: 56.24 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/7.187, allocations: 15.98 kB / 4.311 GB, free: 56.22 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/7.187, allocations: 0 / 4.311 GB, free: 56.22 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/7.188, allocations: 1.372 MB / 4.312 GB, free: 54.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/7.193, allocations: 3.284 MB / 4.315 GB, free: 51.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/7.193, allocations: 8 kB / 4.315 GB, free: 51.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/7.194, allocations: 167.7 kB / 4.315 GB, free: 51.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/7.194, allocations: 8 kB / 4.316 GB, free: 51.21 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/7.194, allocations: 16 kB / 4.316 GB, free: 51.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/7.194, allocations: 11.98 kB / 4.316 GB, free: 51.19 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/7.194, allocations: 12.06 kB / 4.316 GB, free: 51.18 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002559/7.196, allocations: 2.51 MB / 4.318 GB, free: 48.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/7.197, allocations: 434.8 kB / 4.318 GB, free: 48.04 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/7.197, allocations: 15.98 kB / 4.318 GB, free: 48.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/7.198, allocations: 87.77 kB / 4.319 GB, free: 47.94 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/7.199, allocations: 92.3 kB / 4.319 GB, free: 47.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/7.199, allocations: 43.92 kB / 4.319 GB, free: 47.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001581/7.2, allocations: 1.146 MB / 4.32 GB, free: 46.67 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002715/7.203, allocations: 0.8982 MB / 4.321 GB, free: 45.77 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.002856/7.206, allocations: 2.409 MB / 4.323 GB, free: 43.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002558/7.208, allocations: 2.371 MB / 4.325 GB, free: 41.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/7.208, allocations: 0 / 4.325 GB, free: 41.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009338/7.209, allocations: 0.914 MB / 4.326 GB, free: 40.12 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/7.213, allocations: 0.8036 MB / 4.327 GB, free: 39.32 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/7.219, allocations: 3.121 MB / 4.33 GB, free: 36.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/7.22, allocations: 1.707 MB / 4.332 GB, free: 34.36 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/7.22, allocations: 0 / 4.332 GB, free: 34.36 MB / 1.151 GB Notification: Performance of Templates: time 0.07462/7.295, allocations: 48.66 MB / 4.379 GB, free: 2.191 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches