Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001017/0.001017, allocations: 184.8 kB / 8.134 MB, free: 2.199 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.068/1.068, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0008877/0.0008877, allocations: 93.06 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6453/0.6453, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.109e-06/5.129e-06, allocations: 0 / 0.5289 GB, free: 51.73 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 82.84 MB / 0.6098 GB, free: 2.816 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.5782, allocations: 125.1 MB / 0.732 GB, free: 4.152 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001493/0.5784, allocations: 68.22 kB / 0.7321 GB, free: 4.129 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.007432/0.5859, allocations: 2.505 MB / 0.7345 GB, free: 2.152 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5859, allocations: 3 kB / 0.7345 GB, free: 2.152 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.0004314/0.5863, allocations: 455.6 kB / 0.7349 GB, free: 1.668 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.5864, allocations: 11.97 kB / 0.735 GB, free: 1.656 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.5864, allocations: 15.81 kB / 0.735 GB, free: 1.641 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.5866, allocations: 230.5 kB / 0.7352 GB, free: 1.383 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.5867, allocations: 0 / 0.7352 GB, free: 1.383 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.5867, allocations: 19.89 kB / 0.7352 GB, free: 1.363 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002021/0.5869, allocations: 136.8 kB / 0.7353 GB, free: 1.258 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.5871, allocations: 168.1 kB / 0.7355 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5871, allocations: 0 / 0.7355 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.5872, allocations: 0 / 0.7355 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5872, allocations: 7.984 kB / 0.7355 GB, free: 1.109 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.5874, allocations: 243.4 kB / 0.7357 GB, free: 0.8594 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.588, allocations: 314.8 kB / 0.736 GB, free: 0.5977 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.5881, allocations: 113.3 kB / 0.7361 GB, free: 0.5117 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.5883, allocations: 89.09 kB / 0.7362 GB, free: 416 kB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.5883, allocations: 34.25 kB / 0.7363 GB, free: 376 kB / 0.4953 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.5883, allocations: 0 / 0.7363 GB, free: 376 kB / 0.4953 GB Notification: Performance of matching and sorting (n=28): time 0.0006789/0.589, allocations: 345 kB / 0.7366 GB, free: 72 kB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.589, allocations: 51.41 kB / 0.7366 GB, free: 8 kB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.5891, allocations: 119.3 kB / 0.7368 GB, free: 15.88 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.5892, allocations: 25.7 kB / 0.7368 GB, free: 15.85 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.5892, allocations: 88.5 kB / 0.7369 GB, free: 15.77 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.5893, allocations: 108.9 kB / 0.737 GB, free: 15.67 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.5893, allocations: 0 / 0.737 GB, free: 15.67 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5894, allocations: 329.7 kB / 0.7373 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5896, allocations: 127.2 kB / 0.7374 GB, free: 15.25 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.5897, allocations: 129.3 kB / 0.7375 GB, free: 15.16 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.5903, allocations: 209.4 kB / 0.7377 GB, free: 14.98 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5903, allocations: 0 / 0.7377 GB, free: 14.98 MB / 0.5109 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008281/0.5911, allocations: 426.3 kB / 0.7381 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5912, allocations: 4 kB / 0.7381 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5912, allocations: 3.938 kB / 0.7381 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5912, allocations: 4 kB / 0.7381 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.5916, allocations: 80.14 kB / 0.7382 GB, free: 14.54 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.5916, allocations: 0 / 0.7382 GB, free: 14.54 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.5917, allocations: 15.75 kB / 0.7382 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.5917, allocations: 8 kB / 0.7382 GB, free: 14.52 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.911e-05/0.5918, allocations: 108.9 kB / 0.7383 GB, free: 14.41 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5918, allocations: 15.81 kB / 0.7384 GB, free: 14.39 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.5928, allocations: 452.2 kB / 0.7388 GB, free: 14.03 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5928, allocations: 9.5 kB / 0.7388 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5928, allocations: 0 / 0.7388 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.5928, allocations: 7.922 kB / 0.7388 GB, free: 14.01 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.5931, allocations: 273 kB / 0.7391 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5931, allocations: 0 / 0.7391 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.5936, allocations: 87.33 kB / 0.7392 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5936, allocations: 7.938 kB / 0.7392 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.5936, allocations: 7.438 kB / 0.7392 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5936, allocations: 4 kB / 0.7392 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5937, allocations: 0 / 0.7392 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009667/0.5946, allocations: 0.572 MB / 0.7397 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5947, allocations: 123.7 kB / 0.7399 GB, free: 13.02 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.5948, allocations: 7.984 kB / 0.7399 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5949, allocations: 0 / 0.7399 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.595, allocations: 19.97 kB / 0.7399 GB, free: 12.99 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.595, allocations: 11.38 kB / 0.7399 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.909e-05/0.5951, allocations: 104.3 kB / 0.74 GB, free: 12.89 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002676/0.5953, allocations: 59.94 kB / 0.74 GB, free: 12.83 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.0001374/0.5955, allocations: 119.2 kB / 0.7402 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.5959, allocations: 302.4 kB / 0.7404 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.5959, allocations: 0 / 0.7404 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.5961, allocations: 163.7 kB / 0.7406 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5963, allocations: 20.42 kB / 0.7406 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5975, allocations: 0.7821 MB / 0.7414 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.5979, allocations: 0.7825 MB / 0.7422 GB, free: 10.75 MB / 0.5109 GB Notification: Performance of SimCode: time 2.6e-07/0.5979, allocations: 0 / 0.7422 GB, free: 10.75 MB / 0.5109 GB Notification: Performance of Templates: time 0.005508/0.6034, allocations: 3.085 MB / 0.7452 GB, free: 7.688 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches