Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001159/0.001159, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00195/0.00195, allocations: 161 kB / 24.56 MB, free: 16 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.9695/0.9695, allocations: 177.1 MB / 205 MB, free: 5.605 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.6043/0.6043, allocations: 88.08 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 453.3 MB, free: 32.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.247e-05, allocations: 2.312 kB / 453.3 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002431/0.002464, allocations: 1.427 MB / 454.7 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.003255, allocations: 0.5352 MB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.003307, allocations: 6.906 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.874e-05/0.003405, allocations: 10.73 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.003752, allocations: 55.23 kB / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.003878, allocations: 44.62 kB / 455.4 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005725/0.004451, allocations: 1.034 MB / 456.4 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.004512, allocations: 12.88 kB / 456.4 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.005177, allocations: 482.1 kB / 456.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.005799, allocations: 0.5025 MB / 457.4 MB, free: 30.4 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.005945, allocations: 57.56 kB / 457.4 MB, free: 30.4 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.006147, allocations: 84.2 kB / 457.5 MB, free: 30.39 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.006472, allocations: 474.7 kB / 458 MB, free: 30.22 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.006755, allocations: 362.6 kB / 458.3 MB, free: 30.1 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.007406, allocations: 0.915 MB / 459.3 MB, free: 29.85 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00741, allocations: 0 / 459.3 MB, free: 29.85 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.007411, allocations: 0 / 459.3 MB, free: 29.85 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.007426, allocations: 0 / 459.3 MB, free: 29.85 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.00176/0.009186, allocations: 1.446 MB / 460.7 MB, free: 29.1 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.009226, allocations: 10.66 kB / 460.7 MB, free: 29.1 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.009433, allocations: 157.2 kB / 460.9 MB, free: 29.03 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.009877, allocations: 402.6 kB / 461.3 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.009911, allocations: 62.22 kB / 461.3 MB, free: 28.77 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.01005, allocations: 111.9 kB / 461.4 MB, free: 28.72 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.01086, allocations: 0.709 MB / 462.1 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01087, allocations: 0 / 462.1 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.01093, allocations: 32.53 kB / 462.2 MB, free: 28.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.01095, allocations: 19.78 kB / 462.2 MB, free: 28.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.01173, allocations: 0.517 MB / 462.7 MB, free: 28.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.01241, allocations: 0.6285 MB / 463.3 MB, free: 28.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/0.01547, allocations: 2.028 MB / 465.4 MB, free: 27.49 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.016, allocations: 429.7 kB / 465.8 MB, free: 27.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.0162, allocations: 49.62 kB / 465.8 MB, free: 27.4 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.01623, allocations: 58.73 kB / 465.9 MB, free: 27.34 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 3.817e-06/0.01623, allocations: 0 / 465.9 MB, free: 27.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.002024/0.01825, allocations: 1.612 MB / 467.5 MB, free: 26.96 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.01829, allocations: 78.34 kB / 467.6 MB, free: 26.89 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.01843, allocations: 281.6 kB / 467.9 MB, free: 26.68 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.01849, allocations: 54.95 kB / 467.9 MB, free: 26.63 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.01853, allocations: 182.5 kB / 468.1 MB, free: 26.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.01886, allocations: 0.8367 MB / 468.9 MB, free: 25.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.0192, allocations: 387.5 kB / 469.3 MB, free: 25.6 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.01926, allocations: 0.4952 MB / 469.8 MB, free: 25.11 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.01985, allocations: 383.5 kB / 470.2 MB, free: 25.06 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.02042, allocations: 421.2 kB / 470.6 MB, free: 24.99 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.02167, allocations: 1.022 MB / 471.6 MB, free: 24.63 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.02168, allocations: 8 kB / 471.6 MB, free: 24.62 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00213/0.02381, allocations: 1.473 MB / 473.1 MB, free: 24.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.02383, allocations: 5.031 kB / 473.1 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.02384, allocations: 0 / 473.1 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.02386, allocations: 10.09 kB / 473.1 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.02511, allocations: 0.5383 MB / 473.6 MB, free: 24.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.02513, allocations: 12.84 kB / 473.6 MB, free: 24.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.02555, allocations: 182.2 kB / 473.8 MB, free: 23.99 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.02564, allocations: 83.33 kB / 473.9 MB, free: 23.96 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.0002161/0.02586, allocations: 256.6 kB / 474.2 MB, free: 23.72 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.02604, allocations: 158.2 kB / 474.3 MB, free: 23.64 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.02841, allocations: 1.909 MB / 476.2 MB, free: 22.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.02843, allocations: 26.72 kB / 476.2 MB, free: 22.96 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.02843, allocations: 5.344 kB / 476.3 MB, free: 22.96 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.02845, allocations: 13.31 kB / 476.3 MB, free: 22.96 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.02935, allocations: 0.8329 MB / 477.1 MB, free: 22.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.02936, allocations: 0 / 477.1 MB, free: 22.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.03106, allocations: 0.6151 MB / 477.7 MB, free: 22.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-05/0.03108, allocations: 9.969 kB / 477.7 MB, free: 22.34 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.03124, allocations: 98.08 kB / 477.8 MB, free: 22.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.03125, allocations: 10.16 kB / 477.8 MB, free: 22.3 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03125, allocations: 0 / 477.8 MB, free: 22.3 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.03422, allocations: 2.361 MB / 480.2 MB, free: 21.54 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/0.03466, allocations: 324.7 kB / 480.5 MB, free: 21.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.03479, allocations: 77.17 kB / 480.6 MB, free: 21.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.03516, allocations: 74.86 kB / 480.7 MB, free: 21.34 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.03533, allocations: 174.8 kB / 480.8 MB, free: 21.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.597e-05/0.03543, allocations: 78.83 kB / 480.9 MB, free: 21.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.03551, allocations: 198.8 kB / 481.1 MB, free: 21.17 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03551, allocations: 0 / 481.1 MB, free: 21.17 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006984/0.03621, allocations: 453.5 kB / 481.5 MB, free: 21.09 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.0002661/0.03647, allocations: 219.5 kB / 481.8 MB, free: 20.93 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.03845, allocations: 1.343 MB / 483.1 MB, free: 20.67 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.03845, allocations: 0 / 483.1 MB, free: 20.67 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.03942, allocations: 0.8647 MB / 484 MB, free: 20.48 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.03996, allocations: 207.8 kB / 484.2 MB, free: 20.37 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.04399, allocations: 3.874 MB / 488 MB, free: 17.06 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.04415, allocations: 309.8 kB / 488.3 MB, free: 16.81 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0008061/0.04495, allocations: 0.6128 MB / 489 MB, free: 16.38 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.04535, allocations: 173 kB / 489.1 MB, free: 16.23 MB / 410.8 MB Notification: Performance of SimCode: time 1.994e-06/0.04535, allocations: 3.938 kB / 489.1 MB, free: 16.23 MB / 410.8 MB Notification: Performance of Templates: time 0.02185/0.06721, allocations: 19.14 MB / 0.4964 GB, free: 15.67 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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: 31.224895033054054]