Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001377/0.001377, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001503/0.001503, allocations: 209 kB / 24.48 MB, free: 3.938 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.758 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 0.9876/0.9876, allocations: 120.6 MB / 435.2 MB, free: 0.6641 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_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_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.002025/0.002025, allocations: 63.91 kB / 0.6095 GB, free: 8.641 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.161, allocations: 85.87 MB / 0.6933 GB, free: 2.559 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002545/0.1635, allocations: 1.363 MB / 0.6947 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1646, allocations: 0.5263 MB / 0.6952 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.1646, allocations: 0 / 0.6952 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.1647, allocations: 11.86 kB / 0.6952 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.165, allocations: 55.8 kB / 0.6952 GB, free: 0.5938 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.1651, allocations: 47.81 kB / 0.6953 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1654, allocations: 195.5 kB / 0.6955 GB, free: 364 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.1654, allocations: 8.172 kB / 0.6955 GB, free: 356 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1656, allocations: 83.75 kB / 0.6956 GB, free: 272 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1658, allocations: 95.8 kB / 0.6957 GB, free: 176 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.1658, allocations: 8 kB / 0.6957 GB, free: 168 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1659, allocations: 27.98 kB / 0.6957 GB, free: 140 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.166, allocations: 67.8 kB / 0.6958 GB, free: 72 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.653e-05/0.1661, allocations: 71.69 kB / 0.6958 GB, free: 0 / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1664, allocations: 147.4 kB / 0.696 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1664, allocations: 3.938 kB / 0.696 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1664, allocations: 0 / 0.696 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1664, allocations: 4 kB / 0.696 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.0008155/0.1672, allocations: 397.9 kB / 0.6963 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1672, allocations: 12.03 kB / 0.6964 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.1673, allocations: 16.84 kB / 0.6964 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1675, allocations: 162 kB / 0.6965 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1675, allocations: 8.234 kB / 0.6965 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.1676, allocations: 19.95 kB / 0.6966 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1679, allocations: 175.4 kB / 0.6967 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1679, allocations: 3.938 kB / 0.6967 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.168, allocations: 4 kB / 0.6967 GB, free: 15 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.168, allocations: 4 kB / 0.6967 GB, free: 15 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.1682, allocations: 140.6 kB / 0.6969 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1686, allocations: 214 kB / 0.6971 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.1695, allocations: 342.8 kB / 0.6974 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.1697, allocations: 112.8 kB / 0.6975 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.1698, allocations: 15.98 kB / 0.6975 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1699, allocations: 34.56 kB / 0.6976 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.1699, allocations: 0 / 0.6976 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006858/0.1705, allocations: 378.7 kB / 0.6979 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1706, allocations: 55.41 kB / 0.698 GB, free: 13.67 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1707, allocations: 140.9 kB / 0.6981 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1707, allocations: 29.7 kB / 0.6981 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1708, allocations: 92.64 kB / 0.6982 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1709, allocations: 115 kB / 0.6983 GB, free: 13.28 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.171, allocations: 62.03 kB / 0.6984 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1712, allocations: 330.8 kB / 0.6987 GB, free: 12.88 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1714, allocations: 120.6 kB / 0.6988 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.1716, allocations: 133.2 kB / 0.6989 GB, free: 12.63 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.172, allocations: 278.2 kB / 0.6992 GB, free: 12.36 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.172, allocations: 0 / 0.6992 GB, free: 12.36 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005993/0.1726, allocations: 361.9 kB / 0.6996 GB, free: 12 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1726, allocations: 4 kB / 0.6996 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.1726, allocations: 0 / 0.6996 GB, free: 12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1727, allocations: 8 kB / 0.6996 GB, free: 11.99 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.173, allocations: 71.89 kB / 0.6996 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.173, allocations: 4 kB / 0.6996 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1731, allocations: 23.83 kB / 0.6997 GB, free: 11.89 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.1731, allocations: 8 kB / 0.6997 GB, free: 11.88 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.0001376/0.1733, allocations: 145.6 kB / 0.6998 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1733, allocations: 15.91 kB / 0.6998 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.174, allocations: 395.2 kB / 0.7002 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.174, allocations: 4 kB / 0.7002 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.174, allocations: 0 / 0.7002 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.174, allocations: 3.984 kB / 0.7002 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1743, allocations: 241 kB / 0.7004 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1744, allocations: 0 / 0.7004 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.1748, allocations: 83.91 kB / 0.7005 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1748, allocations: 0 / 0.7005 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.1748, allocations: 15.98 kB / 0.7005 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1748, allocations: 4 kB / 0.7005 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1748, allocations: 0 / 0.7005 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.1757, allocations: 0.5456 MB / 0.7011 GB, free: 10.38 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1758, allocations: 47.8 kB / 0.7011 GB, free: 10.33 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.1758, allocations: 11.98 kB / 0.7011 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1759, allocations: 4 kB / 0.7011 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.176, allocations: 27.95 kB / 0.7012 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.176, allocations: 12 kB / 0.7012 GB, free: 10.28 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.371e-05/0.1761, allocations: 103.2 kB / 0.7013 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.7013 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003119/0.1764, allocations: 76 kB / 0.7013 GB, free: 10.1 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.0001843/0.1766, allocations: 111.1 kB / 0.7014 GB, free: 9.984 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.1771, allocations: 287.7 kB / 0.7017 GB, free: 9.703 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1771, allocations: 0 / 0.7017 GB, free: 9.703 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.1773, allocations: 160.8 kB / 0.7019 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.000267/0.1776, allocations: 42.72 kB / 0.7019 GB, free: 9.508 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1791, allocations: 0.897 MB / 0.7028 GB, free: 8.582 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.1792, allocations: 140.7 kB / 0.7029 GB, free: 8.414 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1793, allocations: 31.44 kB / 0.703 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of SimCode: time 2.9e-07/0.1793, allocations: 0 / 0.703 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of Templates: time 0.005762/0.1851, allocations: 3.103 MB / 0.706 GB, free: 5.277 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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: 8.922485588118434]