Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 71.12 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002594/0.002594, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9709/0.9709, allocations: 88.07 MB / 349.3 MB, free: 1.375 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 67.31 kB / 0.5256 GB, free: 7.07 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1795, allocations: 85.86 MB / 0.6094 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003034/0.1825, allocations: 1.36 MB / 0.6107 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1837, allocations: 0.5185 MB / 0.6112 GB, free: 1.242 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.1837, allocations: 7.938 kB / 0.6113 GB, free: 1.234 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.631e-05/0.1838, allocations: 7.922 kB / 0.6113 GB, free: 1.227 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1841, allocations: 63.72 kB / 0.6113 GB, free: 1.164 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.1842, allocations: 35.89 kB / 0.6114 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1845, allocations: 199.4 kB / 0.6115 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.1845, allocations: 12.17 kB / 0.6116 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1847, allocations: 75.81 kB / 0.6116 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1849, allocations: 103.7 kB / 0.6117 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.185, allocations: 8 kB / 0.6117 GB, free: 0.7383 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1851, allocations: 31.98 kB / 0.6118 GB, free: 0.707 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1852, allocations: 63.84 kB / 0.6118 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.1853, allocations: 67.7 kB / 0.6119 GB, free: 0.5781 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1855, allocations: 151.4 kB / 0.612 GB, free: 440 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1855, allocations: 0 / 0.612 GB, free: 440 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1855, allocations: 0 / 0.612 GB, free: 440 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1855, allocations: 0 / 0.612 GB, free: 440 kB / 0.5139 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.0008079/0.1863, allocations: 401.9 kB / 0.6124 GB, free: 4 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1864, allocations: 8.078 kB / 0.6124 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1864, allocations: 16.84 kB / 0.6124 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1867, allocations: 166 kB / 0.6126 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1867, allocations: 8.234 kB / 0.6126 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1867, allocations: 15.95 kB / 0.6126 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.187, allocations: 179.4 kB / 0.6128 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1871, allocations: 0 / 0.6128 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1871, allocations: 8 kB / 0.6128 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1871, allocations: 0 / 0.6128 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.1873, allocations: 144.6 kB / 0.6129 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.1876, allocations: 214 kB / 0.6131 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.1886, allocations: 338.8 kB / 0.6135 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.1888, allocations: 116.8 kB / 0.6136 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.1889, allocations: 15.97 kB / 0.6136 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.189, allocations: 38.5 kB / 0.6136 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.382e-06/0.189, allocations: 0 / 0.6136 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006819/0.1896, allocations: 378.1 kB / 0.614 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1897, allocations: 59.41 kB / 0.6141 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1898, allocations: 132.6 kB / 0.6142 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1898, allocations: 29.7 kB / 0.6142 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.1899, allocations: 92.64 kB / 0.6143 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.19, allocations: 115 kB / 0.6144 GB, free: 13.86 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.1901, allocations: 61.97 kB / 0.6145 GB, free: 13.79 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1903, allocations: 334.8 kB / 0.6148 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1905, allocations: 120.6 kB / 0.6149 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1907, allocations: 129.1 kB / 0.615 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.1911, allocations: 290.2 kB / 0.6153 GB, free: 12.93 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1911, allocations: 0 / 0.6153 GB, free: 12.93 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000536/0.1917, allocations: 353.9 kB / 0.6156 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1917, allocations: 8 kB / 0.6156 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1917, allocations: 0 / 0.6156 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1917, allocations: 0 / 0.6156 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.192, allocations: 75.91 kB / 0.6157 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.192, allocations: 3.984 kB / 0.6157 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1921, allocations: 19.83 kB / 0.6157 GB, free: 12.47 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1922, allocations: 12 kB / 0.6157 GB, free: 12.46 MB / 0.5295 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.1923, allocations: 141.6 kB / 0.6159 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.1923, allocations: 19.91 kB / 0.6159 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/0.193, allocations: 403.2 kB / 0.6163 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.193, allocations: 4 kB / 0.6163 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.193, allocations: 0 / 0.6163 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.193, allocations: 3.984 kB / 0.6163 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1933, allocations: 244.9 kB / 0.6165 GB, free: 11.61 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1933, allocations: 4 kB / 0.6165 GB, free: 11.6 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.1938, allocations: 79.91 kB / 0.6166 GB, free: 11.52 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1938, allocations: 0 / 0.6166 GB, free: 11.52 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.1938, allocations: 15.98 kB / 0.6166 GB, free: 11.51 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1938, allocations: 4 kB / 0.6166 GB, free: 11.5 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1938, allocations: 0 / 0.6166 GB, free: 11.5 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.1946, allocations: 0.5226 MB / 0.6171 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1947, allocations: 43.8 kB / 0.6172 GB, free: 10.92 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.1948, allocations: 19.98 kB / 0.6172 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1949, allocations: 7.938 kB / 0.6172 GB, free: 10.89 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.1949, allocations: 23.95 kB / 0.6172 GB, free: 10.87 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.195, allocations: 12 kB / 0.6172 GB, free: 10.86 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.938e-05/0.195, allocations: 107.2 kB / 0.6173 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 0.6173 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002799/0.1953, allocations: 67.98 kB / 0.6174 GB, free: 10.68 MB / 0.5295 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.1955, allocations: 123.1 kB / 0.6175 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005042/0.196, allocations: 283.7 kB / 0.6178 GB, free: 10.28 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.196, allocations: 0 / 0.6178 GB, free: 10.28 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.1963, allocations: 164.8 kB / 0.618 GB, free: 10.12 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1965, allocations: 43.3 kB / 0.618 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1979, allocations: 0.8601 MB / 0.6188 GB, free: 9.195 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.198, allocations: 136.7 kB / 0.619 GB, free: 9.031 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.1982, allocations: 89.95 kB / 0.6191 GB, free: 8.941 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.1983, allocations: 36.42 kB / 0.6191 GB, free: 8.906 MB / 0.5295 GB Notification: Performance of SimCode: time 3.7e-07/0.1983, allocations: 0 / 0.6191 GB, free: 8.906 MB / 0.5295 GB Notification: Performance of Templates: time 0.007398/0.2057, allocations: 3.055 MB / 0.6221 GB, free: 5.914 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.3180719539523125]