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.001277/0.001277, 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.001364/0.001364, allocations: 208.9 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.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.055/1.055, 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.001969/0.001969, allocations: 63.91 kB / 0.6087 GB, free: 8.648 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1664, allocations: 85.87 MB / 0.6926 GB, free: 2.566 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003196/0.1696, allocations: 1.373 MB / 0.6939 GB, free: 1.184 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1707, allocations: 0.5262 MB / 0.6945 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.1708, allocations: 0 / 0.6945 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.1709, allocations: 7.922 kB / 0.6945 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1713, allocations: 63.72 kB / 0.6945 GB, free: 0.5859 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.1714, allocations: 51.81 kB / 0.6946 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.1717, allocations: 179.6 kB / 0.6947 GB, free: 368 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1717, allocations: 8.172 kB / 0.6947 GB, free: 360 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.172, allocations: 87.73 kB / 0.6948 GB, free: 272 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1722, allocations: 99.69 kB / 0.6949 GB, free: 172 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.1722, allocations: 12 kB / 0.6949 GB, free: 160 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1724, allocations: 27.98 kB / 0.695 GB, free: 132 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1725, allocations: 63.84 kB / 0.695 GB, free: 68 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1726, allocations: 71.73 kB / 0.6951 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1728, allocations: 151.3 kB / 0.6952 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1728, allocations: 0 / 0.6952 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1728, allocations: 0 / 0.6952 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.1728, allocations: 0 / 0.6952 GB, free: 15.85 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.0008712/0.1737, allocations: 401.9 kB / 0.6956 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1737, allocations: 8.031 kB / 0.6956 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.1738, allocations: 16.84 kB / 0.6956 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1741, allocations: 162 kB / 0.6958 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1741, allocations: 8.234 kB / 0.6958 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.1741, allocations: 15.95 kB / 0.6958 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1745, allocations: 175.4 kB / 0.696 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1745, allocations: 0 / 0.696 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1745, allocations: 8 kB / 0.696 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1745, allocations: 4 kB / 0.696 GB, free: 15 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.1748, allocations: 144.5 kB / 0.6961 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1751, allocations: 214 kB / 0.6963 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.176, allocations: 342.7 kB / 0.6967 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1762, allocations: 116.8 kB / 0.6968 GB, free: 14.16 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.1764, allocations: 15.92 kB / 0.6968 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1764, allocations: 34.56 kB / 0.6968 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.1764, allocations: 4 kB / 0.6968 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006789/0.1771, allocations: 378.8 kB / 0.6972 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1771, allocations: 55.41 kB / 0.6972 GB, free: 13.66 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1773, allocations: 132.6 kB / 0.6974 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1773, allocations: 29.7 kB / 0.6974 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.1773, allocations: 96.58 kB / 0.6975 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1774, allocations: 111.1 kB / 0.6976 GB, free: 13.28 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1775, allocations: 58.03 kB / 0.6977 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1777, allocations: 330.8 kB / 0.698 GB, free: 12.88 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1779, allocations: 124.6 kB / 0.6981 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1781, allocations: 125.2 kB / 0.6982 GB, free: 12.64 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.1785, allocations: 286.2 kB / 0.6985 GB, free: 12.36 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1785, allocations: 0 / 0.6985 GB, free: 12.36 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005522/0.1791, allocations: 353.9 kB / 0.6988 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1791, allocations: 8 kB / 0.6988 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1791, allocations: 0 / 0.6988 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1791, allocations: 0 / 0.6988 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1794, allocations: 79.89 kB / 0.6989 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1795, allocations: 0 / 0.6989 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1796, allocations: 23.83 kB / 0.6989 GB, free: 11.9 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1796, allocations: 11.94 kB / 0.6989 GB, free: 11.89 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.0001441/0.1797, allocations: 137.8 kB / 0.6991 GB, free: 11.74 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1798, allocations: 19.84 kB / 0.6991 GB, free: 11.72 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.1805, allocations: 399.2 kB / 0.6995 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1805, allocations: 7.984 kB / 0.6995 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1805, allocations: 0 / 0.6995 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1805, allocations: 3.984 kB / 0.6995 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1808, allocations: 248.9 kB / 0.6997 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1808, allocations: 0 / 0.6997 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.1812, allocations: 83.91 kB / 0.6998 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1812, allocations: 0 / 0.6998 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.1813, allocations: 19.92 kB / 0.6998 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1813, allocations: 0 / 0.6998 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1813, allocations: 0 / 0.6998 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.1821, allocations: 0.5262 MB / 0.7003 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1823, allocations: 47.8 kB / 0.7004 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.1823, allocations: 15.98 kB / 0.7004 GB, free: 10.33 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1824, allocations: 8 kB / 0.7004 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1825, allocations: 23.95 kB / 0.7004 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1825, allocations: 12 kB / 0.7004 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.1826, allocations: 113.9 kB / 0.7005 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1826, allocations: 0 / 0.7005 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002813/0.1828, allocations: 68 kB / 0.7006 GB, free: 10.11 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.0001818/0.183, allocations: 115.1 kB / 0.7007 GB, free: 9.988 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.1835, allocations: 287.7 kB / 0.701 GB, free: 9.707 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1835, allocations: 4 kB / 0.701 GB, free: 9.703 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1838, allocations: 160.8 kB / 0.7011 GB, free: 9.547 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.184, allocations: 35.92 kB / 0.7012 GB, free: 9.512 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1854, allocations: 0.8641 MB / 0.702 GB, free: 8.625 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1856, allocations: 132.7 kB / 0.7022 GB, free: 8.465 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.1858, allocations: 89.84 kB / 0.7022 GB, free: 8.375 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.1859, allocations: 31.42 kB / 0.7023 GB, free: 8.344 MB / 0.5295 GB Notification: Performance of SimCode: time 4.51e-07/0.1859, allocations: 0 / 0.7023 GB, free: 8.344 MB / 0.5295 GB Notification: Performance of Templates: time 0.00727/0.1931, allocations: 3.228 MB / 0.7054 GB, free: 5.176 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/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.339907477609813]