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.001888/0.001888, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.00172/0.00172, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.9874/0.9874, allocations: 120.6 MB / 435.2 MB, free: 0.8281 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.00218/0.00218, allocations: 67.89 kB / 0.6096 GB, free: 8.801 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1863, allocations: 85.87 MB / 0.6934 GB, free: 2.723 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002886/0.1892, allocations: 1.404 MB / 0.6948 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1903, allocations: 0.5652 MB / 0.6953 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1904, allocations: 0 / 0.6953 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.1905, allocations: 15.86 kB / 0.6954 GB, free: 0.7266 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.1908, allocations: 67.72 kB / 0.6954 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.191, allocations: 43.83 kB / 0.6955 GB, free: 0.6172 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.1913, allocations: 319.3 kB / 0.6958 GB, free: 312 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.1914, allocations: 4.188 kB / 0.6958 GB, free: 308 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1917, allocations: 123.7 kB / 0.6959 GB, free: 184 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.192, allocations: 159.7 kB / 0.696 GB, free: 24 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.1921, allocations: 16 kB / 0.6961 GB, free: 8 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1923, allocations: 44.05 kB / 0.6961 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.1925, allocations: 131.5 kB / 0.6962 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1926, allocations: 127.4 kB / 0.6964 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.193, allocations: 235 kB / 0.6966 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.193, allocations: 4 kB / 0.6966 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.603e-06/0.193, allocations: 0 / 0.6966 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.193, allocations: 0 / 0.6966 GB, free: 15.48 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.001201/0.1942, allocations: 0.517 MB / 0.6971 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1942, allocations: 12.03 kB / 0.6971 GB, free: 14.92 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.476e-05/0.1943, allocations: 28.73 kB / 0.6971 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1947, allocations: 199.6 kB / 0.6973 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1947, allocations: 16.44 kB / 0.6973 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.1948, allocations: 31.95 kB / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.1953, allocations: 319 kB / 0.6977 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1953, allocations: 0 / 0.6977 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1953, allocations: 16 kB / 0.6977 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1953, allocations: 4 kB / 0.6977 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1958, allocations: 285.5 kB / 0.698 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.1963, allocations: 366.4 kB / 0.6983 GB, free: 13.61 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.1981, allocations: 0.6615 MB / 0.6989 GB, free: 12.94 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.1985, allocations: 214.7 kB / 0.6992 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.1986, allocations: 20.41 kB / 0.6992 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.1986, allocations: 46.94 kB / 0.6992 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=53): time 1.463e-06/0.1986, allocations: 0 / 0.6992 GB, free: 12.65 MB / 0.5295 GB Notification: Performance of matching and sorting (n=53): time 0.001196/0.1998, allocations: 0.6994 MB / 0.6999 GB, free: 11.94 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1999, allocations: 55.84 kB / 0.7 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2, allocations: 152.6 kB / 0.7001 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.2001, allocations: 29.7 kB / 0.7001 GB, free: 11.68 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.2001, allocations: 97.14 kB / 0.7002 GB, free: 11.58 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2003, allocations: 222.1 kB / 0.7004 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2005, allocations: 106.3 kB / 0.7005 GB, free: 11.25 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2006, allocations: 346.8 kB / 0.7009 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.201, allocations: 241.1 kB / 0.7011 GB, free: 10.66 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.2014, allocations: 241.7 kB / 0.7013 GB, free: 10.43 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.2022, allocations: 0.5358 MB / 0.7018 GB, free: 9.891 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2022, allocations: 0 / 0.7018 GB, free: 9.891 MB / 0.5295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001003/0.2032, allocations: 0.6415 MB / 0.7025 GB, free: 9.242 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2032, allocations: 8 kB / 0.7025 GB, free: 9.234 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2032, allocations: 0 / 0.7025 GB, free: 9.234 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2033, allocations: 7.984 kB / 0.7025 GB, free: 9.227 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.2038, allocations: 143.8 kB / 0.7026 GB, free: 9.086 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2038, allocations: 4 kB / 0.7026 GB, free: 9.082 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.204, allocations: 39.73 kB / 0.7027 GB, free: 9.043 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2041, allocations: 16 kB / 0.7027 GB, free: 9.027 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.0001673/0.2042, allocations: 161.7 kB / 0.7028 GB, free: 8.859 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2043, allocations: 27.86 kB / 0.7029 GB, free: 8.832 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.2055, allocations: 0.7204 MB / 0.7036 GB, free: 8.102 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.2056, allocations: 11.94 kB / 0.7036 GB, free: 8.09 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2056, allocations: 0 / 0.7036 GB, free: 8.09 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.2056, allocations: 11.92 kB / 0.7036 GB, free: 8.078 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.2061, allocations: 440.7 kB / 0.704 GB, free: 7.605 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2061, allocations: 0 / 0.704 GB, free: 7.605 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007425/0.2069, allocations: 159.8 kB / 0.7042 GB, free: 7.449 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2069, allocations: 0 / 0.7042 GB, free: 7.449 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.2069, allocations: 27.98 kB / 0.7042 GB, free: 7.422 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.2069, allocations: 7.938 kB / 0.7042 GB, free: 7.414 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2069, allocations: 0 / 0.7042 GB, free: 7.414 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.2084, allocations: 0.967 MB / 0.7051 GB, free: 6.43 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.2087, allocations: 95.73 kB / 0.7052 GB, free: 6.336 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.2087, allocations: 19.98 kB / 0.7053 GB, free: 6.316 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2089, allocations: 12 kB / 0.7053 GB, free: 6.305 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.209, allocations: 48.56 kB / 0.7053 GB, free: 6.258 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.209, allocations: 23.98 kB / 0.7053 GB, free: 6.234 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.377e-05/0.2091, allocations: 114.4 kB / 0.7054 GB, free: 6.125 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.2091, allocations: 0 / 0.7054 GB, free: 6.125 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003539/0.2095, allocations: 123.9 kB / 0.7056 GB, free: 6.004 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.0002378/0.2097, allocations: 139 kB / 0.7057 GB, free: 5.859 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0009315/0.2106, allocations: 0.5482 MB / 0.7062 GB, free: 5.312 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2106, allocations: 0 / 0.7062 GB, free: 5.312 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.2111, allocations: 311.5 kB / 0.7065 GB, free: 5.008 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2115, allocations: 62.44 kB / 0.7066 GB, free: 4.949 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.214, allocations: 1.564 MB / 0.7081 GB, free: 3.348 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.2145, allocations: 0.805 MB / 0.7089 GB, free: 2.516 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.2146, allocations: 51.42 kB / 0.7089 GB, free: 2.469 MB / 0.5295 GB Notification: Performance of SimCode: time 4.81e-07/0.2146, allocations: 0 / 0.7089 GB, free: 2.469 MB / 0.5295 GB Notification: Performance of Templates: time 0.01032/0.225, allocations: 5.19 MB / 0.714 GB, free: 13.29 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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 11.309660244034603]