Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [: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.0009551/0.0009551, allocations: 186.6 kB / 8.138 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.044/1.044, allocations: 221.4 MB / 229.9 MB, free: 13.47 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 93.69 kB / 280.8 MB, free: 10.51 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6039/0.6039, allocations: 120.4 MB / 452 MB, free: 2.527 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.951e-06, allocations: 4 kB / 0.5282 GB, free: 9.777 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3468, allocations: 82.84 MB / 0.6091 GB, free: 4.703 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4709, allocations: 124.2 MB / 0.7304 GB, free: 8.359 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 9.577e-05/0.4711, allocations: 51.98 kB / 0.7304 GB, free: 8.309 MB / 0.5341 GB Notification: Performance of FrontEnd: time 0.0006949/0.4718, allocations: 153.3 kB / 0.7306 GB, free: 8.156 MB / 0.5341 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4718, allocations: 0 / 0.7306 GB, free: 8.156 MB / 0.5341 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001707/0.472, allocations: 310.4 kB / 0.7309 GB, free: 7.809 MB / 0.5341 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.472, allocations: 8.031 kB / 0.7309 GB, free: 7.801 MB / 0.5341 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.472, allocations: 0 / 0.7309 GB, free: 7.801 MB / 0.5341 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.4721, allocations: 159.1 kB / 0.731 GB, free: 7.605 MB / 0.5341 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4722, allocations: 3.906 kB / 0.7311 GB, free: 7.602 MB / 0.5341 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.4722, allocations: 4 kB / 0.7311 GB, free: 7.598 MB / 0.5341 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.081e-05/0.4722, allocations: 7.922 kB / 0.7311 GB, free: 7.59 MB / 0.5341 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.857e-05/0.4723, allocations: 37.7 kB / 0.7311 GB, free: 7.547 MB / 0.5341 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4723, allocations: 0 / 0.7311 GB, free: 7.547 MB / 0.5341 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.4723, allocations: 0 / 0.7311 GB, free: 7.547 MB / 0.5341 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.4723, allocations: 0 / 0.7311 GB, free: 7.547 MB / 0.5341 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.4724, allocations: 130.2 kB / 0.7312 GB, free: 7.383 MB / 0.5341 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.4725, allocations: 18.61 kB / 0.7312 GB, free: 7.355 MB / 0.5341 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.4725, allocations: 16.25 kB / 0.7313 GB, free: 7.34 MB / 0.5341 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.4726, allocations: 89.17 kB / 0.7313 GB, free: 7.234 MB / 0.5341 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.4726, allocations: 38.41 kB / 0.7314 GB, free: 7.188 MB / 0.5341 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.4727, allocations: 3.984 kB / 0.7314 GB, free: 7.184 MB / 0.5341 GB Notification: Performance of matching and sorting (n=2): time 0.0001352/0.4728, allocations: 37.69 kB / 0.7314 GB, free: 7.141 MB / 0.5341 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.4728, allocations: 51.41 kB / 0.7315 GB, free: 7.078 MB / 0.5341 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.679e-05/0.4729, allocations: 85 kB / 0.7315 GB, free: 6.988 MB / 0.5341 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.4729, allocations: 25.7 kB / 0.7316 GB, free: 6.957 MB / 0.5341 GB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.4729, allocations: 84.14 kB / 0.7317 GB, free: 6.871 MB / 0.5341 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.4729, allocations: 11.94 kB / 0.7317 GB, free: 6.859 MB / 0.5341 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.4729, allocations: 0 / 0.7317 GB, free: 6.859 MB / 0.5341 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.473, allocations: 314.8 kB / 0.732 GB, free: 6.543 MB / 0.5341 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.473, allocations: 0 / 0.732 GB, free: 6.543 MB / 0.5341 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.473, allocations: 4 kB / 0.732 GB, free: 6.539 MB / 0.5341 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.4731, allocations: 4 kB / 0.732 GB, free: 6.535 MB / 0.5341 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4731, allocations: 0 / 0.732 GB, free: 6.535 MB / 0.5341 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.534e-05/0.4732, allocations: 45.62 kB / 0.732 GB, free: 6.484 MB / 0.5341 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.4732, allocations: 8.094 kB / 0.732 GB, free: 6.477 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.4732, allocations: 3.938 kB / 0.732 GB, free: 6.473 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4732, allocations: 4 kB / 0.732 GB, free: 6.469 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.4733, allocations: 4 kB / 0.732 GB, free: 6.465 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4733, allocations: 3.906 kB / 0.732 GB, free: 6.461 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.4733, allocations: 7.984 kB / 0.732 GB, free: 6.453 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-06/0.4733, allocations: 0 / 0.732 GB, free: 6.453 MB / 0.5341 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 (2): * Single equations (assignments): 2 * 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 4.494e-05/0.4733, allocations: 101 kB / 0.7321 GB, free: 6.348 MB / 0.5341 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.4733, allocations: 0 / 0.7321 GB, free: 6.348 MB / 0.5341 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.4735, allocations: 48.84 kB / 0.7322 GB, free: 6.293 MB / 0.5341 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4735, allocations: 7.906 kB / 0.7322 GB, free: 6.285 MB / 0.5341 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4735, allocations: 0 / 0.7322 GB, free: 6.285 MB / 0.5341 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4735, allocations: 3.938 kB / 0.7322 GB, free: 6.281 MB / 0.5341 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.933e-05/0.4735, allocations: 122.2 kB / 0.7323 GB, free: 6.125 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4736, allocations: 3.984 kB / 0.7323 GB, free: 6.121 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.4736, allocations: 7.938 kB / 0.7323 GB, free: 6.113 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4736, allocations: 0 / 0.7323 GB, free: 6.113 MB / 0.5341 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.4736, allocations: 0 / 0.7323 GB, free: 6.113 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.4736, allocations: 4.031 kB / 0.7323 GB, free: 6.109 MB / 0.5341 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4736, allocations: 4 kB / 0.7323 GB, free: 6.105 MB / 0.5341 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.126e-05/0.4737, allocations: 65.03 kB / 0.7324 GB, free: 6.023 MB / 0.5341 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.4737, allocations: 77.11 kB / 0.7325 GB, free: 5.93 MB / 0.5341 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.4737, allocations: 0 / 0.7325 GB, free: 5.93 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.4738, allocations: 0 / 0.7325 GB, free: 5.93 MB / 0.5341 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.4738, allocations: 4 kB / 0.7325 GB, free: 5.926 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4738, allocations: 7.938 kB / 0.7325 GB, free: 5.918 MB / 0.5341 GB Notification: Performance of sort global known variables: time 2.076e-05/0.4738, allocations: 79.27 kB / 0.7326 GB, free: 5.84 MB / 0.5341 GB Notification: Performance of remove unused functions: time 0.0001711/0.474, allocations: 4 kB / 0.7326 GB, free: 5.836 MB / 0.5341 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 8.946e-05/0.4741, allocations: 96.19 kB / 0.7327 GB, free: 5.734 MB / 0.5341 GB Notification: Performance of simCode: created initialization part: time 4.7e-05/0.4741, allocations: 11.94 kB / 0.7327 GB, free: 5.723 MB / 0.5341 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4741, allocations: 4 kB / 0.7327 GB, free: 5.719 MB / 0.5341 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-06/0.4741, allocations: 4 kB / 0.7327 GB, free: 5.715 MB / 0.5341 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.521e-05/0.4742, allocations: 6.297 kB / 0.7327 GB, free: 5.711 MB / 0.5341 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001318/0.4744, allocations: 48.06 kB / 0.7327 GB, free: 5.641 MB / 0.5341 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4746, allocations: 0.6879 MB / 0.7334 GB, free: 4.926 MB / 0.5341 GB Notification: Performance of SimCode: time 2.5e-07/0.4746, allocations: 4 kB / 0.7334 GB, free: 4.922 MB / 0.5341 GB Notification: Performance of Templates: time 0.001584/0.4762, allocations: 291 kB / 0.7337 GB, free: 4.641 MB / 0.5341 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches