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.001412/0.001412, allocations: 107.9 kB / 20.44 MB, free: 1.188 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.001474/0.001474, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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 1.09/1.09, allocations: 120.6 MB / 434.5 MB, free: 0.6562 MB / 334.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.002371/0.002371, allocations: 67.88 kB / 0.6087 GB, free: 8.652 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1821, allocations: 85.86 MB / 0.6926 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002725/0.1849, allocations: 1.387 MB / 0.6939 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.186, allocations: 0.5224 MB / 0.6945 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.186, allocations: 0 / 0.6945 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.551e-05/0.1861, allocations: 7.922 kB / 0.6945 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1864, allocations: 63.72 kB / 0.6945 GB, free: 0.6016 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1866, allocations: 43.83 kB / 0.6946 GB, free: 0.5586 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.1868, allocations: 191.5 kB / 0.6947 GB, free: 380 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.1869, allocations: 4.188 kB / 0.6947 GB, free: 376 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1871, allocations: 87.75 kB / 0.6948 GB, free: 288 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1873, allocations: 91.75 kB / 0.6949 GB, free: 196 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1874, allocations: 11.98 kB / 0.6949 GB, free: 184 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1875, allocations: 39.91 kB / 0.695 GB, free: 144 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1876, allocations: 63.86 kB / 0.695 GB, free: 80 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.1877, allocations: 63.7 kB / 0.6951 GB, free: 16 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.188, allocations: 151.4 kB / 0.6952 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.188, allocations: 0 / 0.6952 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.773e-06/0.188, allocations: 4 kB / 0.6952 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.188, allocations: 0 / 0.6952 GB, free: 15.86 MB / 0.5295 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.00087/0.1889, allocations: 397.9 kB / 0.6956 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1889, allocations: 8.031 kB / 0.6956 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.189, allocations: 20.84 kB / 0.6956 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1892, allocations: 158 kB / 0.6958 GB, free: 15.23 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1892, allocations: 8.234 kB / 0.6958 GB, free: 15.23 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.1893, allocations: 23.94 kB / 0.6958 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1896, allocations: 171.4 kB / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1896, allocations: 0 / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1896, allocations: 0 / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1896, allocations: 7.984 kB / 0.696 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1899, allocations: 148.6 kB / 0.6961 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1903, allocations: 210 kB / 0.6963 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.1912, allocations: 346.8 kB / 0.6967 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1914, allocations: 120.7 kB / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.1916, allocations: 8 kB / 0.6968 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1916, allocations: 34.56 kB / 0.6968 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.1916, allocations: 0 / 0.6968 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0007054/0.1923, allocations: 386.7 kB / 0.6972 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1923, allocations: 51.41 kB / 0.6972 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1925, allocations: 133 kB / 0.6974 GB, free: 13.54 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1925, allocations: 33.7 kB / 0.6974 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1925, allocations: 96.62 kB / 0.6975 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1927, allocations: 111.1 kB / 0.6976 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.1928, allocations: 66.02 kB / 0.6977 GB, free: 13.22 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1929, allocations: 322.8 kB / 0.698 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1931, allocations: 128.5 kB / 0.6981 GB, free: 12.77 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1933, allocations: 129.2 kB / 0.6982 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.1938, allocations: 278.2 kB / 0.6985 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1938, allocations: 0 / 0.6985 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005597/0.1943, allocations: 361.9 kB / 0.6988 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1944, allocations: 4 kB / 0.6988 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1944, allocations: 4 kB / 0.6988 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1944, allocations: 4 kB / 0.6988 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1947, allocations: 75.91 kB / 0.6989 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1947, allocations: 0 / 0.6989 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1948, allocations: 19.83 kB / 0.6989 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1948, allocations: 12 kB / 0.6989 GB, free: 11.9 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.0001351/0.195, allocations: 141.7 kB / 0.6991 GB, free: 11.75 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.195, allocations: 15.91 kB / 0.6991 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.1957, allocations: 399.2 kB / 0.6995 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1957, allocations: 7.984 kB / 0.6995 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1957, allocations: 4 kB / 0.6995 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1957, allocations: 0 / 0.6995 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1961, allocations: 233 kB / 0.6997 GB, free: 11.06 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1961, allocations: 0 / 0.6997 GB, free: 11.06 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.1965, allocations: 87.89 kB / 0.6998 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.1965, allocations: 4 kB / 0.6998 GB, free: 10.97 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.1965, allocations: 16 kB / 0.6998 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1965, allocations: 3.984 kB / 0.6998 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1965, allocations: 4 kB / 0.6998 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.1974, allocations: 0.5301 MB / 0.7003 GB, free: 10.4 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1975, allocations: 47.8 kB / 0.7004 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.1975, allocations: 8 kB / 0.7004 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1976, allocations: 8 kB / 0.7004 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1977, allocations: 27.89 kB / 0.7004 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.1977, allocations: 12 kB / 0.7004 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.5e-05/0.1978, allocations: 103.2 kB / 0.7005 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1978, allocations: 4 kB / 0.7005 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002952/0.1981, allocations: 72 kB / 0.7006 GB, free: 10.12 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.000178/0.1983, allocations: 115.1 kB / 0.7007 GB, free: 10 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.1988, allocations: 287.7 kB / 0.701 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1988, allocations: 0 / 0.701 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.199, allocations: 160.8 kB / 0.7011 GB, free: 9.566 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1993, allocations: 35.53 kB / 0.7012 GB, free: 9.535 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2007, allocations: 0.8641 MB / 0.702 GB, free: 8.648 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2009, allocations: 140.7 kB / 0.7022 GB, free: 8.48 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002099/0.2011, allocations: 97.83 kB / 0.7022 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.2012, allocations: 27.44 kB / 0.7023 GB, free: 8.355 MB / 0.5295 GB Notification: Performance of SimCode: time 3.51e-07/0.2012, allocations: 0 / 0.7023 GB, free: 8.355 MB / 0.5295 GB Notification: Performance of Templates: time 0.007452/0.2086, allocations: 3.219 MB / 0.7054 GB, free: 5.188 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/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.786729775369167]