Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001447/0.001447, 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.001778/0.001778, allocations: 207.6 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.056/1.056, allocations: 120.6 MB / 434.5 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_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_noopt_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_noopt_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.002079/0.002079, allocations: 59.91 kB / 0.6087 GB, free: 8.645 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1912, allocations: 85.88 MB / 0.6926 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002638/0.1938, allocations: 1.364 MB / 0.6939 GB, free: 1.18 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1948, allocations: 0.5224 MB / 0.6944 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.1949, allocations: 0 / 0.6944 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.582e-05/0.195, allocations: 15.86 kB / 0.6945 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.1953, allocations: 47.81 kB / 0.6945 GB, free: 0.5938 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.1954, allocations: 51.81 kB / 0.6946 GB, free: 0.543 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.1958, allocations: 319.3 kB / 0.6949 GB, free: 236 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.1958, allocations: 8.188 kB / 0.6949 GB, free: 228 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.196, allocations: 119.8 kB / 0.695 GB, free: 108 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1963, allocations: 155.6 kB / 0.6951 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1964, allocations: 16 kB / 0.6951 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1965, allocations: 43.97 kB / 0.6952 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1967, allocations: 127.7 kB / 0.6953 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1968, allocations: 119.5 kB / 0.6954 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1971, allocations: 239 kB / 0.6957 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1971, allocations: 3.984 kB / 0.6957 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1971, allocations: 0 / 0.6957 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1972, allocations: 0 / 0.6957 GB, free: 15.41 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.001116/0.1983, allocations: 0.5132 MB / 0.6962 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1983, allocations: 12.03 kB / 0.6962 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1984, allocations: 28.8 kB / 0.6962 GB, free: 14.83 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1987, allocations: 195.8 kB / 0.6964 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1987, allocations: 12.44 kB / 0.6964 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.1988, allocations: 35.95 kB / 0.6964 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.1993, allocations: 315.1 kB / 0.6967 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1993, allocations: 4 kB / 0.6967 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1994, allocations: 7.938 kB / 0.6967 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1994, allocations: 11.94 kB / 0.6968 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1998, allocations: 285.5 kB / 0.697 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.2003, allocations: 307.1 kB / 0.6973 GB, free: 13.62 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2022, allocations: 0.6577 MB / 0.698 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.2025, allocations: 218 kB / 0.6982 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.2027, allocations: 20.42 kB / 0.6982 GB, free: 12.72 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.2027, allocations: 31.56 kB / 0.6982 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.2027, allocations: 0 / 0.6982 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of matching and sorting (n=53): time 0.001262/0.204, allocations: 0.7033 MB / 0.6989 GB, free: 11.97 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.204, allocations: 63.84 kB / 0.699 GB, free: 11.89 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2042, allocations: 152.8 kB / 0.6991 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.2042, allocations: 33.7 kB / 0.6991 GB, free: 11.69 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.2043, allocations: 97.14 kB / 0.6992 GB, free: 11.59 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.2045, allocations: 218.1 kB / 0.6994 GB, free: 11.38 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2047, allocations: 110.3 kB / 0.6995 GB, free: 11.26 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2048, allocations: 338.8 kB / 0.6999 GB, free: 10.92 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.2052, allocations: 237.1 kB / 0.7001 GB, free: 10.69 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.2056, allocations: 249.7 kB / 0.7003 GB, free: 10.45 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.2064, allocations: 0.5281 MB / 0.7009 GB, free: 9.918 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2064, allocations: 0 / 0.7009 GB, free: 9.918 MB / 0.5295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009837/0.2074, allocations: 0.6493 MB / 0.7015 GB, free: 9.262 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2074, allocations: 4 kB / 0.7015 GB, free: 9.258 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.2074, allocations: 0 / 0.7015 GB, free: 9.258 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2074, allocations: 4 kB / 0.7015 GB, free: 9.254 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.208, allocations: 147.7 kB / 0.7016 GB, free: 9.109 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.208, allocations: 7.938 kB / 0.7016 GB, free: 9.102 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.2082, allocations: 35.73 kB / 0.7017 GB, free: 9.066 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.2082, allocations: 20 kB / 0.7017 GB, free: 9.047 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.000174/0.2084, allocations: 161.7 kB / 0.7018 GB, free: 8.879 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.2084, allocations: 23.86 kB / 0.7019 GB, free: 8.855 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2097, allocations: 0.7204 MB / 0.7026 GB, free: 8.125 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2097, allocations: 12 kB / 0.7026 GB, free: 8.113 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.2097, allocations: 3.938 kB / 0.7026 GB, free: 8.109 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2097, allocations: 3.984 kB / 0.7026 GB, free: 8.105 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.2102, allocations: 353.4 kB / 0.7029 GB, free: 7.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2102, allocations: 4 kB / 0.7029 GB, free: 7.727 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.2109, allocations: 155.8 kB / 0.7031 GB, free: 7.574 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.2109, allocations: 4 kB / 0.7031 GB, free: 7.57 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.211, allocations: 27.98 kB / 0.7031 GB, free: 7.543 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.211, allocations: 3.938 kB / 0.7031 GB, free: 7.539 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.211, allocations: 0 / 0.7031 GB, free: 7.539 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.2124, allocations: 0.9787 MB / 0.7041 GB, free: 6.539 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.2127, allocations: 87.59 kB / 0.7042 GB, free: 6.453 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.2127, allocations: 20.12 kB / 0.7042 GB, free: 6.434 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2129, allocations: 20 kB / 0.7042 GB, free: 6.414 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.213, allocations: 44.56 kB / 0.7042 GB, free: 6.371 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.213, allocations: 23.98 kB / 0.7043 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.5e-05/0.2131, allocations: 114.1 kB / 0.7044 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.2131, allocations: 0 / 0.7044 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003644/0.2135, allocations: 123.9 kB / 0.7045 GB, free: 6.117 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.0002145/0.2137, allocations: 143.1 kB / 0.7046 GB, free: 5.969 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0008949/0.2146, allocations: 0.5482 MB / 0.7052 GB, free: 5.422 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.2146, allocations: 0 / 0.7052 GB, free: 5.422 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.215, allocations: 311.5 kB / 0.7055 GB, free: 5.117 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2154, allocations: 55.95 kB / 0.7055 GB, free: 5.062 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2177, allocations: 1.527 MB / 0.707 GB, free: 3.504 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.2179, allocations: 204.6 kB / 0.7072 GB, free: 3.281 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0003876/0.2183, allocations: 179.1 kB / 0.7074 GB, free: 3.105 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.2184, allocations: 47.42 kB / 0.7074 GB, free: 3.062 MB / 0.5295 GB Notification: Performance of SimCode: time 6.21e-07/0.2184, allocations: 0 / 0.7074 GB, free: 3.062 MB / 0.5295 GB Notification: Performance of Templates: time 0.01143/0.2298, allocations: 5.62 MB / 0.7129 GB, free: 13.51 MB / 0.5452 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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: 8.309650840237737]