Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.00134/0.00134, 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.001479/0.001479, allocations: 210 kB / 24.47 MB, free: 3.941 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.452/1.452, allocations: 230.6 MB / 258.2 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.027/1.027, allocations: 120.6 MB / 435.2 MB, free: 0.6523 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [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.002118/0.002118, allocations: 67.91 kB / 0.6095 GB, free: 8.645 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1687, allocations: 85.88 MB / 0.6933 GB, free: 2.559 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002532/0.1713, allocations: 1.357 MB / 0.6947 GB, free: 1.191 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1723, allocations: 0.5262 MB / 0.6952 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.1724, allocations: 0 / 0.6952 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.675e-05/0.1724, allocations: 19.86 kB / 0.6952 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.1727, allocations: 51.78 kB / 0.6952 GB, free: 0.5938 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.1729, allocations: 47.83 kB / 0.6953 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1732, allocations: 315.4 kB / 0.6956 GB, free: 244 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.1732, allocations: 4.188 kB / 0.6956 GB, free: 240 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1735, allocations: 131.7 kB / 0.6957 GB, free: 108 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.1738, allocations: 151.7 kB / 0.6959 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.1738, allocations: 16 kB / 0.6959 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1739, allocations: 39.98 kB / 0.6959 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1741, allocations: 131.7 kB / 0.696 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1742, allocations: 111.5 kB / 0.6962 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1745, allocations: 246.9 kB / 0.6964 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1745, allocations: 4 kB / 0.6964 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1745, allocations: 0 / 0.6964 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.1745, allocations: 0 / 0.6964 GB, free: 15.42 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001091/0.1756, allocations: 0.5132 MB / 0.6969 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1757, allocations: 12.03 kB / 0.6969 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1757, allocations: 24.8 kB / 0.6969 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1761, allocations: 197.9 kB / 0.6971 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1761, allocations: 12.44 kB / 0.6971 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.1762, allocations: 35.94 kB / 0.6972 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.1768, allocations: 307.1 kB / 0.6975 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1768, allocations: 0 / 0.6975 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1768, allocations: 12 kB / 0.6975 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1768, allocations: 7.938 kB / 0.6975 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.1773, allocations: 289.5 kB / 0.6978 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1778, allocations: 299.1 kB / 0.698 GB, free: 13.64 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1795, allocations: 0.6538 MB / 0.6987 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.1799, allocations: 226 kB / 0.6989 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.18, allocations: 8.438 kB / 0.6989 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.18, allocations: 39.56 kB / 0.6989 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=53): time 1.794e-06/0.1801, allocations: 3.938 kB / 0.6989 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of matching and sorting (n=53): time 0.001241/0.1813, allocations: 0.7072 MB / 0.6996 GB, free: 11.98 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1813, allocations: 55.84 kB / 0.6997 GB, free: 11.91 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1815, allocations: 151.9 kB / 0.6998 GB, free: 11.75 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.1815, allocations: 33.7 kB / 0.6999 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.1816, allocations: 97.14 kB / 0.7 GB, free: 11.61 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1818, allocations: 222 kB / 0.7002 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1819, allocations: 110.3 kB / 0.7003 GB, free: 11.28 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.1821, allocations: 342.8 kB / 0.7006 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.1825, allocations: 237.1 kB / 0.7008 GB, free: 10.7 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.1829, allocations: 245.7 kB / 0.7011 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/0.1837, allocations: 0.5359 MB / 0.7016 GB, free: 9.926 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1837, allocations: 4 kB / 0.7016 GB, free: 9.922 MB / 0.5295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001018/0.1847, allocations: 0.6493 MB / 0.7022 GB, free: 9.266 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1847, allocations: 4 kB / 0.7022 GB, free: 9.262 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1848, allocations: 0 / 0.7022 GB, free: 9.262 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1848, allocations: 4 kB / 0.7022 GB, free: 9.258 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.1854, allocations: 135.8 kB / 0.7024 GB, free: 9.125 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1854, allocations: 7.938 kB / 0.7024 GB, free: 9.117 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1856, allocations: 39.73 kB / 0.7024 GB, free: 9.078 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1856, allocations: 19.98 kB / 0.7024 GB, free: 9.059 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 (74): * Single equations (assignments): 74 * 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.0001916/0.1858, allocations: 165.7 kB / 0.7026 GB, free: 8.887 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.1858, allocations: 23.86 kB / 0.7026 GB, free: 8.863 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.1871, allocations: 0.7243 MB / 0.7033 GB, free: 8.129 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1871, allocations: 8 kB / 0.7033 GB, free: 8.121 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.1872, allocations: 3.938 kB / 0.7033 GB, free: 8.117 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1872, allocations: 3.984 kB / 0.7033 GB, free: 8.113 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.1877, allocations: 361.4 kB / 0.7037 GB, free: 7.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1877, allocations: 0 / 0.7037 GB, free: 7.73 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.1884, allocations: 155.8 kB / 0.7038 GB, free: 7.578 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1884, allocations: 0 / 0.7038 GB, free: 7.578 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.1885, allocations: 27.98 kB / 0.7038 GB, free: 7.551 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.1885, allocations: 7.984 kB / 0.7039 GB, free: 7.543 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1885, allocations: 4 kB / 0.7039 GB, free: 7.539 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.19, allocations: 0.967 MB / 0.7048 GB, free: 6.551 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.1902, allocations: 87.59 kB / 0.7049 GB, free: 6.465 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.1903, allocations: 24.11 kB / 0.7049 GB, free: 6.441 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1905, allocations: 16 kB / 0.7049 GB, free: 6.426 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.1905, allocations: 44.56 kB / 0.705 GB, free: 6.383 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.1906, allocations: 20 kB / 0.705 GB, free: 6.363 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.1907, allocations: 113.7 kB / 0.7051 GB, free: 6.254 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1907, allocations: 3.938 kB / 0.7051 GB, free: 6.25 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003649/0.191, allocations: 131.9 kB / 0.7052 GB, free: 6.121 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0002068/0.1912, allocations: 131.1 kB / 0.7053 GB, free: 5.984 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0009229/0.1922, allocations: 0.556 MB / 0.7059 GB, free: 5.43 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1922, allocations: 0 / 0.7059 GB, free: 5.43 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.1926, allocations: 315.5 kB / 0.7062 GB, free: 5.121 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.193, allocations: 63.95 kB / 0.7063 GB, free: 5.059 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.1955, allocations: 1.556 MB / 0.7078 GB, free: 3.465 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1957, allocations: 196.6 kB / 0.708 GB, free: 3.25 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1959, allocations: 51.42 kB / 0.708 GB, free: 3.203 MB / 0.5295 GB Notification: Performance of SimCode: time 5.71e-07/0.1959, allocations: 0 / 0.708 GB, free: 3.203 MB / 0.5295 GB Notification: Performance of Templates: time 0.008759/0.2046, allocations: 5.317 MB / 0.7132 GB, free: 13.9 MB / 0.5452 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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: 9.78737727412954]