Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [: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.0009529/0.000953, allocations: 183.5 kB / 8.134 MB, free: 2.223 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.055/1.055, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0008145/0.0008145, allocations: 106.3 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.614/0.614, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 0 / 0.5289 GB, free: 51.8 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 82.85 MB / 0.6098 GB, free: 2.816 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5833, allocations: 125.1 MB / 0.732 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001586/0.5835, allocations: 66.06 kB / 0.7321 GB, free: 4.059 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01121/0.5947, allocations: 3.844 MB / 0.7358 GB, free: 0.8633 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5948, allocations: 4 kB / 0.7358 GB, free: 0.8594 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009454/0.5957, allocations: 0.5623 MB / 0.7364 GB, free: 268 kB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 9.562e-05/0.5958, allocations: 16.03 kB / 0.7364 GB, free: 252 kB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.5961, allocations: 24.34 kB / 0.7364 GB, free: 228 kB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.5965, allocations: 278.7 kB / 0.7367 GB, free: 15.91 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5965, allocations: 7.906 kB / 0.7367 GB, free: 15.9 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.5966, allocations: 23.3 kB / 0.7367 GB, free: 15.88 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004195/0.597, allocations: 286.1 kB / 0.737 GB, free: 15.66 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.5974, allocations: 295.8 kB / 0.7373 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5975, allocations: 2.938 kB / 0.7373 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.5975, allocations: 3.984 kB / 0.7373 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.5975, allocations: 4 kB / 0.7373 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.5979, allocations: 354 kB / 0.7376 GB, free: 15.07 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.5991, allocations: 0.5759 MB / 0.7382 GB, free: 14.59 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.5994, allocations: 223.5 kB / 0.7384 GB, free: 14.43 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.5996, allocations: 101.3 kB / 0.7385 GB, free: 14.31 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5996, allocations: 42.66 kB / 0.7385 GB, free: 14.26 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=53): time 1.513e-06/0.5996, allocations: 0 / 0.7385 GB, free: 14.26 MB / 0.5109 GB Notification: Performance of matching and sorting (n=53): time 0.00131/0.6009, allocations: 0.5998 MB / 0.7391 GB, free: 13.75 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.601, allocations: 63.83 kB / 0.7392 GB, free: 13.68 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.6011, allocations: 128.6 kB / 0.7393 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6011, allocations: 25.7 kB / 0.7393 GB, free: 13.52 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.6011, allocations: 92.38 kB / 0.7394 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.6013, allocations: 194.6 kB / 0.7396 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.6013, allocations: 0 / 0.7396 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.6014, allocations: 355.9 kB / 0.7399 GB, free: 12.92 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.6017, allocations: 242.1 kB / 0.7402 GB, free: 12.74 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.602, allocations: 245.3 kB / 0.7404 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.603, allocations: 425.8 kB / 0.7408 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.603, allocations: 0 / 0.7408 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001382/0.6044, allocations: 0.7611 MB / 0.7415 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.6044, allocations: 11.94 kB / 0.7416 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6044, allocations: 0 / 0.7416 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6044, allocations: 0 / 0.7416 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.6051, allocations: 150.7 kB / 0.7417 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.6052, allocations: 4 kB / 0.7417 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.6054, allocations: 23.59 kB / 0.7417 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.6054, allocations: 15 kB / 0.7417 GB, free: 11.38 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 (74): * Single equations (assignments): 74 * 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 9.972e-05/0.6055, allocations: 116.8 kB / 0.7418 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.6056, allocations: 31.62 kB / 0.7419 GB, free: 11.23 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.6072, allocations: 0.8137 MB / 0.7427 GB, free: 10.57 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.6072, allocations: 12 kB / 0.7427 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6072, allocations: 0 / 0.7427 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6073, allocations: 3.984 kB / 0.7427 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.6077, allocations: 408.9 kB / 0.7431 GB, free: 10.17 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6077, allocations: 0 / 0.7431 GB, free: 10.17 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.6086, allocations: 163.5 kB / 0.7432 GB, free: 10.01 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6086, allocations: 4 kB / 0.7432 GB, free: 10.01 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.6087, allocations: 15.3 kB / 0.7433 GB, free: 9.996 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6087, allocations: 7.938 kB / 0.7433 GB, free: 9.988 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6087, allocations: 5.438 kB / 0.7433 GB, free: 9.984 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001664/0.6104, allocations: 1.056 MB / 0.7443 GB, free: 9.125 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.6106, allocations: 163.8 kB / 0.7445 GB, free: 8.949 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.6106, allocations: 15.97 kB / 0.7445 GB, free: 8.934 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.6108, allocations: 3.906 kB / 0.7445 GB, free: 8.93 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.6109, allocations: 36.47 kB / 0.7445 GB, free: 8.898 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.6109, allocations: 22.44 kB / 0.7445 GB, free: 8.883 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.628e-05/0.611, allocations: 105.6 kB / 0.7446 GB, free: 8.789 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003113/0.6113, allocations: 108 kB / 0.7447 GB, free: 8.684 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001645/0.6115, allocations: 126.4 kB / 0.7449 GB, free: 8.551 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.6122, allocations: 0.5702 MB / 0.7454 GB, free: 8.102 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6122, allocations: 4 kB / 0.7454 GB, free: 8.098 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.6126, allocations: 321.3 kB / 0.7457 GB, free: 7.859 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.6128, allocations: 31.42 kB / 0.7457 GB, free: 7.836 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.6148, allocations: 1.413 MB / 0.7471 GB, free: 6.445 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.6153, allocations: 0.8659 MB / 0.748 GB, free: 5.562 MB / 0.5109 GB Notification: Performance of SimCode: time 2.71e-07/0.6153, allocations: 0 / 0.748 GB, free: 5.562 MB / 0.5109 GB Notification: Performance of Templates: time 0.008377/0.6236, allocations: 5.525 MB / 0.7534 GB, free: 72 kB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches