Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008823/0.0008823, allocations: 188.9 kB / 8.138 MB, free: 2.188 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.036/1.036, allocations: 221.4 MB / 230 MB, free: 3.066 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.0008527/0.0008529, allocations: 99.91 kB / 280.8 MB, free: 1.18 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5971/0.5971, allocations: 120.4 MB / 452 MB, free: 12.87 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.129e-06/5.139e-06, allocations: 0 / 0.5289 GB, free: 51.62 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 82.85 MB / 0.6098 GB, free: 2.66 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5493, allocations: 125.1 MB / 0.732 GB, free: 3.941 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001582/0.5495, allocations: 69.3 kB / 0.7321 GB, free: 3.918 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01094/0.5604, allocations: 3.845 MB / 0.7358 GB, free: 0.6914 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.5605, allocations: 4 kB / 0.7358 GB, free: 0.6875 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.0006927/0.5612, allocations: 0.5663 MB / 0.7364 GB, free: 88 kB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.5612, allocations: 8.031 kB / 0.7364 GB, free: 80 kB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.5613, allocations: 23.72 kB / 0.7364 GB, free: 56 kB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.5617, allocations: 292.4 kB / 0.7367 GB, free: 15.73 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.5617, allocations: 11.91 kB / 0.7367 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.5618, allocations: 16 kB / 0.7367 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004044/0.5622, allocations: 286.8 kB / 0.737 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.5626, allocations: 289.2 kB / 0.7373 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5626, allocations: 0 / 0.7373 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.5626, allocations: 0 / 0.7373 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5626, allocations: 8 kB / 0.7373 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.5631, allocations: 355.2 kB / 0.7376 GB, free: 14.89 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.5642, allocations: 0.5782 MB / 0.7382 GB, free: 14.41 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.5645, allocations: 223.8 kB / 0.7384 GB, free: 14.25 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.5647, allocations: 93.53 kB / 0.7385 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.5647, allocations: 41.78 kB / 0.7385 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.5647, allocations: 0 / 0.7385 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of matching and sorting (n=53): time 0.001302/0.566, allocations: 0.6116 MB / 0.7391 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.5661, allocations: 55.84 kB / 0.7392 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.5662, allocations: 127.9 kB / 0.7393 GB, free: 13.38 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.5662, allocations: 25.7 kB / 0.7393 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.5663, allocations: 92.25 kB / 0.7394 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5664, allocations: 201.7 kB / 0.7396 GB, free: 13.09 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.5664, allocations: 4 kB / 0.7396 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5666, allocations: 344.3 kB / 0.7399 GB, free: 12.75 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.5669, allocations: 244.8 kB / 0.7402 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.5672, allocations: 247.5 kB / 0.7404 GB, free: 12.38 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/0.5681, allocations: 420.5 kB / 0.7408 GB, free: 12.04 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5681, allocations: 3.938 kB / 0.7408 GB, free: 12.04 MB / 0.5109 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001395/0.5695, allocations: 0.7684 MB / 0.7415 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.5696, allocations: 4 kB / 0.7415 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5696, allocations: 0 / 0.7415 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5696, allocations: 4 kB / 0.7416 GB, free: 11.38 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.5703, allocations: 143.6 kB / 0.7417 GB, free: 11.25 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5703, allocations: 4 kB / 0.7417 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.5705, allocations: 23.59 kB / 0.7417 GB, free: 11.22 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.5705, allocations: 23.17 kB / 0.7417 GB, free: 11.2 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 0.0001014/0.5707, allocations: 112.9 kB / 0.7418 GB, free: 11.08 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.5707, allocations: 30.12 kB / 0.7419 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.5723, allocations: 0.8171 MB / 0.7427 GB, free: 10.39 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.5723, allocations: 8 kB / 0.7427 GB, free: 10.38 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5723, allocations: 0 / 0.7427 GB, free: 10.38 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5724, allocations: 3.984 kB / 0.7427 GB, free: 10.38 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.5728, allocations: 413.8 kB / 0.7431 GB, free: 9.992 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5728, allocations: 0 / 0.7431 GB, free: 9.992 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.5737, allocations: 162.7 kB / 0.7432 GB, free: 9.84 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5737, allocations: 7.938 kB / 0.7432 GB, free: 9.832 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.5738, allocations: 15.98 kB / 0.7433 GB, free: 9.816 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5738, allocations: 8 kB / 0.7433 GB, free: 9.809 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5738, allocations: 0 / 0.7433 GB, free: 9.809 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001741/0.5755, allocations: 1.05 MB / 0.7443 GB, free: 8.953 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.5757, allocations: 175.4 kB / 0.7445 GB, free: 8.77 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.5758, allocations: 7.984 kB / 0.7445 GB, free: 8.762 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.576, allocations: 3.906 kB / 0.7445 GB, free: 8.758 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.5761, allocations: 40.34 kB / 0.7445 GB, free: 8.723 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.5761, allocations: 18.75 kB / 0.7445 GB, free: 8.711 MB / 0.5109 GB Notification: Performance of sort global known variables: time 6.387e-05/0.5762, allocations: 114.7 kB / 0.7446 GB, free: 8.609 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003075/0.5765, allocations: 104 kB / 0.7447 GB, free: 8.508 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.0001602/0.5767, allocations: 127 kB / 0.7449 GB, free: 8.371 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.000693/0.5774, allocations: 0.5699 MB / 0.7454 GB, free: 7.926 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5774, allocations: 0 / 0.7454 GB, free: 7.926 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.5777, allocations: 317.3 kB / 0.7457 GB, free: 7.688 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.578, allocations: 35.47 kB / 0.7457 GB, free: 7.66 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.58, allocations: 1.419 MB / 0.7471 GB, free: 6.266 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/0.5805, allocations: 0.8655 MB / 0.748 GB, free: 5.383 MB / 0.5109 GB Notification: Performance of SimCode: time 2.41e-07/0.5805, allocations: 0 / 0.748 GB, free: 5.383 MB / 0.5109 GB Notification: Performance of Templates: time 0.009034/0.5895, allocations: 5.525 MB / 0.7534 GB, free: 15.89 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches