Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) 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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [:1:1-1:33: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/Complex 4.0.0+maint.om/package.mo): time 0.0009411/0.0009411, allocations: 187.1 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.02/1.02, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 105.4 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6015/0.6015, allocations: 120.4 MB / 452 MB, free: 13.05 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.241e-06/6.261e-06, allocations: 7.938 kB / 0.5289 GB, free: 51.76 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 82.85 MB / 0.6098 GB, free: 2.82 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.5604, allocations: 125.1 MB / 0.732 GB, free: 4.273 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.5606, allocations: 62.94 kB / 0.7321 GB, free: 4.254 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.007492/0.5681, allocations: 2.499 MB / 0.7345 GB, free: 2.281 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.5681, allocations: 4 kB / 0.7345 GB, free: 2.277 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004997/0.5686, allocations: 460.5 kB / 0.7349 GB, free: 1.785 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5687, allocations: 8.031 kB / 0.735 GB, free: 1.777 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.5687, allocations: 15.81 kB / 0.735 GB, free: 1.762 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.569, allocations: 226.3 kB / 0.7352 GB, free: 1.504 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.569, allocations: 4 kB / 0.7352 GB, free: 1.5 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.5691, allocations: 15.34 kB / 0.7352 GB, free: 1.488 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002281/0.5693, allocations: 140.1 kB / 0.7353 GB, free: 1.379 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.5695, allocations: 161 kB / 0.7355 GB, free: 1.246 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5696, allocations: 0 / 0.7355 GB, free: 1.246 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.5696, allocations: 4 kB / 0.7355 GB, free: 1.242 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5696, allocations: 0 / 0.7355 GB, free: 1.242 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.5699, allocations: 251.8 kB / 0.7357 GB, free: 0.9844 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.5706, allocations: 313.2 kB / 0.736 GB, free: 0.7227 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.5707, allocations: 113.6 kB / 0.7361 GB, free: 0.6367 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.5709, allocations: 89.09 kB / 0.7362 GB, free: 0.5312 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.5709, allocations: 42.19 kB / 0.7363 GB, free: 496 kB / 0.4953 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.5709, allocations: 0 / 0.7363 GB, free: 496 kB / 0.4953 GB Notification: Performance of matching and sorting (n=28): time 0.0007067/0.5717, allocations: 340.5 kB / 0.7366 GB, free: 200 kB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.5717, allocations: 59.34 kB / 0.7366 GB, free: 128 kB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.5718, allocations: 111.2 kB / 0.7368 GB, free: 16 kB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5718, allocations: 29.7 kB / 0.7368 GB, free: 15.98 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.5718, allocations: 88.08 kB / 0.7369 GB, free: 15.89 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.5719, allocations: 107.1 kB / 0.737 GB, free: 15.79 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.5719, allocations: 0 / 0.737 GB, free: 15.79 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.572, allocations: 330.1 kB / 0.7373 GB, free: 15.46 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.5722, allocations: 119.3 kB / 0.7374 GB, free: 15.38 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.5724, allocations: 129.1 kB / 0.7375 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.5729, allocations: 217 kB / 0.7377 GB, free: 15.11 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5729, allocations: 3.938 kB / 0.7377 GB, free: 15.1 MB / 0.5109 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007998/0.5737, allocations: 418.7 kB / 0.7381 GB, free: 14.75 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5737, allocations: 7.125 kB / 0.7381 GB, free: 14.75 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5738, allocations: 4 kB / 0.7381 GB, free: 14.74 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5738, allocations: 5.688 kB / 0.7381 GB, free: 14.74 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.5742, allocations: 78.77 kB / 0.7382 GB, free: 14.66 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5742, allocations: 4 kB / 0.7382 GB, free: 14.66 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.5743, allocations: 11.75 kB / 0.7382 GB, free: 14.65 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5743, allocations: 15.92 kB / 0.7383 GB, free: 14.64 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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 7.682e-05/0.5744, allocations: 104.9 kB / 0.7384 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.5744, allocations: 15.81 kB / 0.7384 GB, free: 14.51 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009142/0.5754, allocations: 458.8 kB / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5754, allocations: 4 kB / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5754, allocations: 0 / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5754, allocations: 0 / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.5756, allocations: 270.6 kB / 0.7391 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5756, allocations: 0 / 0.7391 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.5761, allocations: 94.95 kB / 0.7392 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5761, allocations: 3.938 kB / 0.7392 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.5762, allocations: 14.73 kB / 0.7392 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5762, allocations: 0 / 0.7392 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5762, allocations: 0 / 0.7392 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009453/0.5771, allocations: 0.5674 MB / 0.7397 GB, free: 13.28 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5773, allocations: 123.9 kB / 0.7398 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.5773, allocations: 4 kB / 0.7399 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5774, allocations: 0 / 0.7399 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.5775, allocations: 23.91 kB / 0.7399 GB, free: 13.11 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.5775, allocations: 15.86 kB / 0.7399 GB, free: 13.1 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.673e-05/0.5776, allocations: 98.88 kB / 0.74 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002561/0.5778, allocations: 63.92 kB / 0.74 GB, free: 12.95 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001578/0.578, allocations: 116.8 kB / 0.7402 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.5784, allocations: 301 kB / 0.7404 GB, free: 12.59 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5784, allocations: 4 kB / 0.7404 GB, free: 12.59 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.5786, allocations: 160.5 kB / 0.7406 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.5788, allocations: 23.3 kB / 0.7406 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5799, allocations: 0.7707 MB / 0.7414 GB, free: 11.69 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.5803, allocations: 0.7902 MB / 0.7421 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of SimCode: time 2.7e-07/0.5803, allocations: 0 / 0.7421 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of Templates: time 0.005428/0.5857, allocations: 3.096 MB / 0.7452 GB, free: 7.809 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches