Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.00137/0.00137, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001245/0.001245, allocations: 165 kB / 24.99 MB, free: 8.297 MB / 18.57 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.6295/0.6295, allocations: 88.07 MB / 349.9 MB, free: 14.27 MB / 330.7 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.306e-05, allocations: 2.312 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002514/0.002547, allocations: 1.416 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.003471, allocations: 0.5388 MB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.003535, allocations: 2.812 kB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.003633, allocations: 11.3 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.003999, allocations: 58.8 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.004129, allocations: 40.69 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.004564, allocations: 0.5541 MB / 455.9 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.00462, allocations: 14.09 kB / 455.9 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004285/0.005048, allocations: 267.5 kB / 456.1 MB, free: 30.78 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.00549, allocations: 266.2 kB / 456.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.005583, allocations: 30.47 kB / 456.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.005758, allocations: 56.62 kB / 456.5 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.00599, allocations: 246.9 kB / 456.7 MB, free: 30.62 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.006214, allocations: 186.1 kB / 456.9 MB, free: 30.55 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.006751, allocations: 493.4 kB / 457.4 MB, free: 30.42 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.006755, allocations: 0 / 457.4 MB, free: 30.42 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.006757, allocations: 0 / 457.4 MB, free: 30.42 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.006776, allocations: 0 / 457.4 MB, free: 30.42 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001456/0.008232, allocations: 0.856 MB / 458.2 MB, free: 29.86 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.008277, allocations: 8.219 kB / 458.3 MB, free: 29.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.008456, allocations: 85.72 kB / 458.3 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.008814, allocations: 268 kB / 458.6 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.008843, allocations: 30.62 kB / 458.6 MB, free: 29.62 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.008949, allocations: 56.56 kB / 458.7 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006733/0.009622, allocations: 378.8 kB / 459.1 MB, free: 29.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.009638, allocations: 4 kB / 459.1 MB, free: 29.49 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.009691, allocations: 14.81 kB / 459.1 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.009707, allocations: 11.16 kB / 459.1 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.01027, allocations: 271.5 kB / 459.3 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.01082, allocations: 373.1 kB / 459.7 MB, free: 29.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.01324, allocations: 0.9956 MB / 460.7 MB, free: 28.91 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.01365, allocations: 218.3 kB / 460.9 MB, free: 28.86 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.01383, allocations: 33.42 kB / 461 MB, free: 28.86 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.01386, allocations: 47.58 kB / 461 MB, free: 28.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 3.777e-06/0.01387, allocations: 0 / 461 MB, free: 28.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001656/0.01552, allocations: 0.8207 MB / 461.8 MB, free: 28.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.01556, allocations: 62.78 kB / 461.9 MB, free: 28.53 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.01571, allocations: 230.7 kB / 462.1 MB, free: 28.34 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.01576, allocations: 44.73 kB / 462.2 MB, free: 28.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.01581, allocations: 158.1 kB / 462.3 MB, free: 28.14 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.0161, allocations: 439.7 kB / 462.7 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.01637, allocations: 202.3 kB / 462.9 MB, free: 27.7 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01648, allocations: 0.5493 MB / 463.5 MB, free: 27.17 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.01692, allocations: 201.6 kB / 463.7 MB, free: 27.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.01736, allocations: 212.9 kB / 463.9 MB, free: 27.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000987/0.01835, allocations: 0.525 MB / 464.4 MB, free: 26.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.01835, allocations: 0 / 464.4 MB, free: 26.94 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001392/0.01974, allocations: 0.7693 MB / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.01977, allocations: 6.812 kB / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.01978, allocations: 5.062 kB / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.01981, allocations: 5.375 kB / 465.2 MB, free: 26.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.02075, allocations: 265 kB / 465.5 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.02078, allocations: 5.5 kB / 465.5 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.02114, allocations: 82.2 kB / 465.5 MB, free: 26.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.02122, allocations: 38.59 kB / 465.6 MB, free: 26.61 MB / 410.8 MB 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 (144): * Single equations (assignments): 144 * 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.0002515/0.02147, allocations: 208.7 kB / 465.8 MB, free: 26.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.02162, allocations: 83.23 kB / 465.9 MB, free: 26.36 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.02349, allocations: 0.9779 MB / 466.8 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.0235, allocations: 12.97 kB / 466.9 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.02351, allocations: 4 kB / 466.9 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.02352, allocations: 9.297 kB / 466.9 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.0242, allocations: 483.3 kB / 467.3 MB, free: 25.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.02421, allocations: 2.25 kB / 467.3 MB, free: 25.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.0255, allocations: 308.6 kB / 467.6 MB, free: 25.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.02552, allocations: 9.188 kB / 467.7 MB, free: 25.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.02563, allocations: 44.31 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.02564, allocations: 2.625 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.02564, allocations: 2.625 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.02771, allocations: 1.226 MB / 468.9 MB, free: 25.21 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.02804, allocations: 174.5 kB / 469.1 MB, free: 25.15 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.02816, allocations: 39.66 kB / 469.1 MB, free: 25.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.02845, allocations: 22.78 kB / 469.2 MB, free: 25.11 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.02862, allocations: 90.03 kB / 469.2 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.0287, allocations: 44.42 kB / 469.3 MB, free: 25.09 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.02879, allocations: 169.7 kB / 469.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02879, allocations: 0 / 469.5 MB, free: 24.96 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006154/0.0294, allocations: 230.3 kB / 469.7 MB, free: 24.92 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002958/0.0297, allocations: 157.2 kB / 469.8 MB, free: 24.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.03103, allocations: 0.6883 MB / 470.5 MB, free: 24.67 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.03103, allocations: 0 / 470.5 MB, free: 24.67 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006677/0.0317, allocations: 451.5 kB / 471 MB, free: 24.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.03222, allocations: 103.9 kB / 471.1 MB, free: 24.52 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.0356, allocations: 2.021 MB / 473.1 MB, free: 23.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.03581, allocations: 193.1 kB / 473.3 MB, free: 23.22 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0008239/0.03663, allocations: 308.1 kB / 473.6 MB, free: 23.16 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.03699, allocations: 89.33 kB / 473.7 MB, free: 23.14 MB / 410.8 MB Notification: Performance of SimCode: time 1.703e-06/0.03699, allocations: 0 / 473.7 MB, free: 23.14 MB / 410.8 MB Notification: Performance of Templates: time 0.0189/0.05589, allocations: 9.928 MB / 483.6 MB, free: 22 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.444844512967393]