Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [: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.001015/0.001015, allocations: 176.4 kB / 8.13 MB, free: 0.8828 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.193/1.193, allocations: 221.4 MB / 229.9 MB, free: 13.51 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.0008783/0.0008783, allocations: 108.2 kB / 280.8 MB, free: 10.53 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8214/0.8214, allocations: 120.4 MB / 452 MB, free: 2.562 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.975e-06, allocations: 224 / 0.5289 GB, free: 9.074 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5253, allocations: 82.85 MB / 0.6098 GB, free: 4.691 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.6875, allocations: 125.1 MB / 0.732 GB, free: 7.449 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.6878, allocations: 63.78 kB / 0.7321 GB, free: 7.391 MB / 0.5341 GB Notification: Performance of FrontEnd: time 0.5417/1.23, allocations: 12.37 MB / 0.7441 GB, free: 127.1 MB / 0.5344 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.23, allocations: 18.78 kB / 0.7442 GB, free: 127.1 MB / 0.5344 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003287/1.233, allocations: 1.474 MB / 0.7456 GB, free: 126.5 MB / 0.5344 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.233, allocations: 9.219 kB / 0.7456 GB, free: 126.5 MB / 0.5344 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/1.233, allocations: 83.28 kB / 0.7457 GB, free: 126.4 MB / 0.5344 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.235, allocations: 0.8459 MB / 0.7465 GB, free: 126.1 MB / 0.5344 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/1.235, allocations: 26.31 kB / 0.7465 GB, free: 126.1 MB / 0.5344 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/1.235, allocations: 82.41 kB / 0.7466 GB, free: 126 MB / 0.5344 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002175/1.237, allocations: 1.246 MB / 0.7478 GB, free: 125.8 MB / 0.5344 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/1.239, allocations: 1.046 MB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.239, allocations: 4 kB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/1.239, allocations: 0 / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/1.239, allocations: 23.38 kB / 0.7489 GB, free: 125.5 MB / 0.5344 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/1.241, allocations: 0.9831 MB / 0.7498 GB, free: 125.1 MB / 0.5344 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/1.246, allocations: 2.31 MB / 0.7521 GB, free: 124.4 MB / 0.5344 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.248, allocations: 0.8382 MB / 0.7529 GB, free: 124.1 MB / 0.5344 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/1.248, allocations: 133 kB / 0.753 GB, free: 124 MB / 0.5344 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.248, allocations: 59.62 kB / 0.7531 GB, free: 123.9 MB / 0.5344 GB Notification: Performance of pre-optimization done (n=203): time 3.706e-06/1.248, allocations: 0 / 0.7531 GB, free: 123.9 MB / 0.5344 GB Notification: Performance of matching and sorting (n=203): time 0.004862/1.253, allocations: 2.295 MB / 0.7553 GB, free: 122 MB / 0.5344 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/1.253, allocations: 73.41 kB / 0.7554 GB, free: 121.9 MB / 0.5344 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/1.253, allocations: 192.3 kB / 0.7556 GB, free: 121.7 MB / 0.5344 GB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/1.253, allocations: 25.7 kB / 0.7556 GB, free: 121.7 MB / 0.5344 GB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/1.253, allocations: 103.3 kB / 0.7557 GB, free: 121.6 MB / 0.5344 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/1.253, allocations: 0.7584 MB / 0.7565 GB, free: 120.8 MB / 0.5344 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/1.254, allocations: 0 / 0.7565 GB, free: 120.8 MB / 0.5344 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/1.254, allocations: 415.2 kB / 0.7569 GB, free: 120.4 MB / 0.5344 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.255, allocations: 0.9453 MB / 0.7578 GB, free: 119.5 MB / 0.5344 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.256, allocations: 0.9484 MB / 0.7587 GB, free: 118.5 MB / 0.5344 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/1.26, allocations: 1.6 MB / 0.7603 GB, free: 116.9 MB / 0.5344 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.26, allocations: 0 / 0.7603 GB, free: 116.9 MB / 0.5344 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005447/1.265, allocations: 2.898 MB / 0.7631 GB, free: 114 MB / 0.5344 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.265, allocations: 4 kB / 0.7631 GB, free: 113.9 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.265, allocations: 0 / 0.7631 GB, free: 113.9 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/1.265, allocations: 8.562 kB / 0.7631 GB, free: 113.9 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/1.269, allocations: 0.5501 MB / 0.7637 GB, free: 113.4 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.352e-05/1.269, allocations: 8 kB / 0.7637 GB, free: 113.4 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/1.27, allocations: 110.2 kB / 0.7638 GB, free: 113.3 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/1.27, allocations: 75.97 kB / 0.7638 GB, free: 113.2 MB / 0.5344 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 (284): * Single equations (assignments): 284 * 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.0002854/1.27, allocations: 130.8 kB / 0.764 GB, free: 113.1 MB / 0.5344 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.27, allocations: 91.72 kB / 0.764 GB, free: 113 MB / 0.5344 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006002/1.276, allocations: 3.087 MB / 0.7671 GB, free: 109.8 MB / 0.5344 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.276, allocations: 28 kB / 0.7671 GB, free: 109.8 MB / 0.5344 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/1.276, allocations: 3.141 kB / 0.7671 GB, free: 109.8 MB / 0.5344 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.276, allocations: 15.94 kB / 0.7671 GB, free: 109.8 MB / 0.5344 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.278, allocations: 1.189 MB / 0.7683 GB, free: 108.6 MB / 0.5344 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.278, allocations: 3.984 kB / 0.7683 GB, free: 108.6 MB / 0.5344 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004342/1.282, allocations: 0.6165 MB / 0.7689 GB, free: 108 MB / 0.5344 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.754e-05/1.282, allocations: 11.94 kB / 0.7689 GB, free: 108 MB / 0.5344 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.282, allocations: 71.86 kB / 0.769 GB, free: 107.9 MB / 0.5344 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.282, allocations: 12 kB / 0.769 GB, free: 107.9 MB / 0.5344 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.282, allocations: 0 / 0.769 GB, free: 107.9 MB / 0.5344 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006106/1.288, allocations: 3.952 MB / 0.7728 GB, free: 103.9 MB / 0.5344 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/1.289, allocations: 399.1 kB / 0.7732 GB, free: 103.5 MB / 0.5344 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.289, allocations: 39.95 kB / 0.7732 GB, free: 103.4 MB / 0.5344 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/1.29, allocations: 0 / 0.7732 GB, free: 103.4 MB / 0.5344 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/1.29, allocations: 146 kB / 0.7734 GB, free: 103.3 MB / 0.5344 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.29, allocations: 87.88 kB / 0.7735 GB, free: 103.2 MB / 0.5344 GB Notification: Performance of sort global known variables: time 0.0001044/1.29, allocations: 160.5 kB / 0.7736 GB, free: 103.1 MB / 0.5344 GB Notification: Performance of remove unused functions: time 0.0007725/1.291, allocations: 367.9 kB / 0.774 GB, free: 102.7 MB / 0.5344 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 284 * 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.0002743/1.292, allocations: 181.9 kB / 0.7741 GB, free: 102.5 MB / 0.5344 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.294, allocations: 2.255 MB / 0.7763 GB, free: 100.2 MB / 0.5344 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.294, allocations: 0 / 0.7763 GB, free: 100.2 MB / 0.5344 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.295, allocations: 1.226 MB / 0.7775 GB, free: 99.02 MB / 0.5344 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/1.296, allocations: 104.4 kB / 0.7776 GB, free: 98.92 MB / 0.5344 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/1.302, allocations: 5.372 MB / 0.7829 GB, free: 93.51 MB / 0.5344 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.303, allocations: 1.354 MB / 0.7842 GB, free: 92.12 MB / 0.5344 GB Notification: Performance of SimCode: time 4.81e-07/1.303, allocations: 0 / 0.7842 GB, free: 92.12 MB / 0.5344 GB Notification: Performance of Templates: time 0.02559/1.329, allocations: 20.24 MB / 0.804 GB, free: 72 MB / 0.5344 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches