Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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.001018/0.001018, allocations: 80.23 kB / 21.18 MB, free: 3.379 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.001027/0.001027, allocations: 161 kB / 24.56 MB, free: 8 kB / 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 0.9332/0.9332, allocations: 177.1 MB / 205 MB, free: 5.609 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.7116/0.7116, allocations: 88.09 MB / 349.6 MB, free: 14.29 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_40,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 453.3 MB, free: 32.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.896e-05, allocations: 12.34 kB / 453.3 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002421/0.00245, allocations: 1.418 MB / 454.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000856/0.003306, allocations: 0.5448 MB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.003359, allocations: 0 / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.00346, allocations: 7.125 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.003849, allocations: 60.75 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.003982, allocations: 44.59 kB / 455.4 MB, free: 31 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.004706, allocations: 1.029 MB / 456.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.004759, allocations: 15.94 kB / 456.4 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/0.005438, allocations: 484 kB / 456.9 MB, free: 30.55 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.005974, allocations: 0.5056 MB / 457.4 MB, free: 30.42 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.006095, allocations: 58.19 kB / 457.5 MB, free: 30.42 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.006261, allocations: 86.83 kB / 457.5 MB, free: 30.41 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.006536, allocations: 481.4 kB / 458 MB, free: 30.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.006807, allocations: 357.7 kB / 458.4 MB, free: 30.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006689/0.007476, allocations: 0.9135 MB / 459.3 MB, free: 29.87 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007479, allocations: 0 / 459.3 MB, free: 29.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007481, allocations: 0 / 459.3 MB, free: 29.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.007507, allocations: 0 / 459.3 MB, free: 29.87 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00181/0.009317, allocations: 1.447 MB / 460.7 MB, free: 29.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.009352, allocations: 10.56 kB / 460.7 MB, free: 29.12 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.009561, allocations: 157.4 kB / 460.9 MB, free: 29.04 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.00996, allocations: 399.8 kB / 461.3 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.009994, allocations: 58.41 kB / 461.3 MB, free: 28.79 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.01013, allocations: 119.5 kB / 461.5 MB, free: 28.74 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009049/0.01104, allocations: 0.7019 MB / 462.2 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.01106, allocations: 2.844 kB / 462.2 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.01112, allocations: 33.94 kB / 462.2 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.01114, allocations: 25.42 kB / 462.2 MB, free: 28.53 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00068/0.01182, allocations: 0.5249 MB / 462.7 MB, free: 28.46 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.01247, allocations: 0.6315 MB / 463.4 MB, free: 28.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.01547, allocations: 2.02 MB / 465.4 MB, free: 27.5 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/0.0161, allocations: 429.2 kB / 465.8 MB, free: 27.42 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.0163, allocations: 50.08 kB / 465.9 MB, free: 27.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.01632, allocations: 63.2 kB / 465.9 MB, free: 27.35 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 3.336e-06/0.01633, allocations: 0 / 465.9 MB, free: 27.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.001927/0.01825, allocations: 1.613 MB / 467.5 MB, free: 26.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.0183, allocations: 72.59 kB / 467.6 MB, free: 26.9 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.01843, allocations: 278.6 kB / 467.9 MB, free: 26.7 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.01849, allocations: 57.67 kB / 467.9 MB, free: 26.64 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.01855, allocations: 179.6 kB / 468.1 MB, free: 26.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.01888, allocations: 0.8366 MB / 468.9 MB, free: 25.8 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.01917, allocations: 386.6 kB / 469.3 MB, free: 25.62 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.01923, allocations: 0.4964 MB / 469.8 MB, free: 25.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.01975, allocations: 389.5 kB / 470.2 MB, free: 25.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.0203, allocations: 422.9 kB / 470.6 MB, free: 25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.02147, allocations: 1.022 MB / 471.6 MB, free: 24.63 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.02147, allocations: 0 / 471.6 MB, free: 24.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001943/0.02341, allocations: 1.471 MB / 473.1 MB, free: 24.18 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.02344, allocations: 6.156 kB / 473.1 MB, free: 24.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.02345, allocations: 0 / 473.1 MB, free: 24.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.02348, allocations: 9.719 kB / 473.1 MB, free: 24.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.02463, allocations: 0.5493 MB / 473.7 MB, free: 24.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.02466, allocations: 8.844 kB / 473.7 MB, free: 24.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.02503, allocations: 183.1 kB / 473.9 MB, free: 24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.02513, allocations: 78.31 kB / 473.9 MB, free: 23.98 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 (284): * Single equations (assignments): 284 * 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.0002249/0.02535, allocations: 260.5 kB / 474.2 MB, free: 23.73 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.02552, allocations: 153.5 kB / 474.3 MB, free: 23.66 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.02779, allocations: 1.907 MB / 476.2 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.02781, allocations: 27.53 kB / 476.3 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.02782, allocations: 0 / 476.3 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.02783, allocations: 13.41 kB / 476.3 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.02861, allocations: 0.8409 MB / 477.1 MB, free: 22.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.02862, allocations: 0 / 477.1 MB, free: 22.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.03019, allocations: 0.62 MB / 477.7 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/0.03021, allocations: 9.125 kB / 477.8 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.03036, allocations: 92.27 kB / 477.8 MB, free: 22.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.03037, allocations: 8.781 kB / 477.9 MB, free: 22.31 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03038, allocations: 1.125 kB / 477.9 MB, free: 22.31 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.03317, allocations: 2.366 MB / 480.2 MB, free: 21.55 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.03353, allocations: 330.5 kB / 480.5 MB, free: 21.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.03366, allocations: 78.05 kB / 480.6 MB, free: 21.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.034, allocations: 69.28 kB / 480.7 MB, free: 21.35 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.03419, allocations: 174.9 kB / 480.9 MB, free: 21.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/0.03429, allocations: 76.94 kB / 480.9 MB, free: 21.31 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.109e-05/0.03437, allocations: 195.8 kB / 481.1 MB, free: 21.18 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03437, allocations: 4 kB / 481.1 MB, free: 21.17 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006224/0.03499, allocations: 454.2 kB / 481.6 MB, free: 21.1 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.000255/0.03524, allocations: 218.7 kB / 481.8 MB, free: 20.94 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.03691, allocations: 1.347 MB / 483.1 MB, free: 20.67 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03691, allocations: 1.094 kB / 483.1 MB, free: 20.67 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009286/0.03784, allocations: 0.8591 MB / 484 MB, free: 20.49 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.03831, allocations: 207.7 kB / 484.2 MB, free: 20.38 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.04186, allocations: 3.874 MB / 488.1 MB, free: 17.04 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.04202, allocations: 310.4 kB / 488.4 MB, free: 16.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007619/0.04278, allocations: 0.6091 MB / 489 MB, free: 16.36 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.04317, allocations: 172.9 kB / 489.2 MB, free: 16.21 MB / 410.8 MB Notification: Performance of SimCode: time 1.502e-06/0.04317, allocations: 4 kB / 489.2 MB, free: 16.21 MB / 410.8 MB Notification: Performance of Templates: time 0.02036/0.06353, allocations: 20.24 MB / 0.4975 GB, free: 14.52 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 56.06421824032441]