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.0009544/0.0009544, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009955/0.0009955, allocations: 165 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.947/0.947, allocations: 177.1 MB / 205 MB, free: 5.621 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.6911/0.6911, allocations: 88.08 MB / 349.6 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 1.442e-06/1.442e-06, allocations: 0 / 453.3 MB, free: 32.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.646e-05, allocations: 2.312 kB / 453.3 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001584/0.001611, allocations: 1.419 MB / 454.7 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000637/0.002248, allocations: 0.5425 MB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.002291, allocations: 2.688 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.333e-05/0.002374, allocations: 10.45 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.002673, allocations: 60.52 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.829e-05/0.002761, allocations: 47.2 kB / 455.4 MB, free: 31.01 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.003048, allocations: 0.5531 MB / 455.9 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.003086, allocations: 12 kB / 455.9 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.003332, allocations: 263.3 kB / 456.2 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.003585, allocations: 268 kB / 456.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.003637, allocations: 28.09 kB / 456.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.003752, allocations: 64.22 kB / 456.6 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.003906, allocations: 246.5 kB / 456.8 MB, free: 30.6 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.004023, allocations: 189.4 kB / 457 MB, free: 30.54 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.004323, allocations: 490.6 kB / 457.5 MB, free: 30.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004325, allocations: 0 / 457.5 MB, free: 30.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004326, allocations: 4 kB / 457.5 MB, free: 30.4 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.004333, allocations: 0 / 457.5 MB, free: 30.4 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.0009102/0.005243, allocations: 0.8547 MB / 458.3 MB, free: 29.84 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005278, allocations: 14.44 kB / 458.3 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.005389, allocations: 79.19 kB / 458.4 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.005612, allocations: 253.9 kB / 458.7 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.005632, allocations: 35.5 kB / 458.7 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.0057, allocations: 59.73 kB / 458.8 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.006092, allocations: 378.3 kB / 459.1 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.006102, allocations: 0 / 459.1 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.006133, allocations: 20.88 kB / 459.1 MB, free: 29.46 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006144, allocations: 10.34 kB / 459.2 MB, free: 29.46 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.006466, allocations: 268.1 kB / 459.4 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.006811, allocations: 385.5 kB / 459.8 MB, free: 29.14 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.008235, allocations: 0.9889 MB / 460.8 MB, free: 28.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.008473, allocations: 217.7 kB / 461 MB, free: 28.85 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.008591, allocations: 35.03 kB / 461 MB, free: 28.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.008617, allocations: 49.36 kB / 461.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 2.174e-06/0.008619, allocations: 4 kB / 461.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.000929/0.009548, allocations: 0.8178 MB / 461.9 MB, free: 28.57 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.009575, allocations: 64.12 kB / 462 MB, free: 28.51 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.009661, allocations: 226.8 kB / 462.2 MB, free: 28.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.009692, allocations: 42.92 kB / 462.2 MB, free: 28.28 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.009724, allocations: 157.5 kB / 462.4 MB, free: 28.13 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.009886, allocations: 439.8 kB / 462.8 MB, free: 27.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.01004, allocations: 203.5 kB / 463 MB, free: 27.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.01011, allocations: 0.5475 MB / 463.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.01036, allocations: 200.3 kB / 463.7 MB, free: 27.14 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.0106, allocations: 218.7 kB / 464 MB, free: 27.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.01119, allocations: 0.5282 MB / 464.5 MB, free: 26.92 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01119, allocations: 4 kB / 464.5 MB, free: 26.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007542/0.01195, allocations: 0.7651 MB / 465.3 MB, free: 26.68 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.01196, allocations: 8.125 kB / 465.3 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01197, allocations: 0 / 465.3 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01198, allocations: 5.656 kB / 465.3 MB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.0125, allocations: 273.2 kB / 465.5 MB, free: 26.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.0125, allocations: 4.312 kB / 465.5 MB, free: 26.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.01266, allocations: 81.02 kB / 465.6 MB, free: 26.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.0127, allocations: 38.25 kB / 465.7 MB, free: 26.59 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.0001094/0.01281, allocations: 209.1 kB / 465.9 MB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.01289, allocations: 77.73 kB / 465.9 MB, free: 26.34 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009592/0.01384, allocations: 0.9866 MB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.01385, allocations: 13.12 kB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01386, allocations: 3.328 kB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.01386, allocations: 6.609 kB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.01421, allocations: 484.7 kB / 467.4 MB, free: 25.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01421, allocations: 2.625 kB / 467.4 MB, free: 25.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.01493, allocations: 303.4 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.01494, allocations: 10.06 kB / 467.7 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.015, allocations: 47.22 kB / 467.8 MB, free: 25.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01501, allocations: 5.312 kB / 467.8 MB, free: 25.6 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01501, allocations: 7.938 kB / 467.8 MB, free: 25.59 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.01618, allocations: 1.218 MB / 469 MB, free: 25.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.01635, allocations: 169.5 kB / 469.2 MB, free: 25.13 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.01642, allocations: 43.16 kB / 469.2 MB, free: 25.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.01657, allocations: 25.03 kB / 469.2 MB, free: 25.09 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.01666, allocations: 90.08 kB / 469.3 MB, free: 25.08 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.0167, allocations: 37.56 kB / 469.4 MB, free: 25.07 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.01674, allocations: 169.8 kB / 469.5 MB, free: 24.94 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01674, allocations: 0 / 469.5 MB, free: 24.94 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002855/0.01703, allocations: 230.2 kB / 469.8 MB, free: 24.91 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.0001787/0.01721, allocations: 162.4 kB / 469.9 MB, free: 24.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007217/0.01793, allocations: 0.6793 MB / 470.6 MB, free: 24.66 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01793, allocations: 0 / 470.6 MB, free: 24.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.0183, allocations: 452.5 kB / 471 MB, free: 24.56 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01857, allocations: 109.9 kB / 471.1 MB, free: 24.5 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.0209, allocations: 2.025 MB / 473.2 MB, free: 23.28 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.02105, allocations: 188.7 kB / 473.3 MB, free: 23.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0005458/0.02159, allocations: 309.1 kB / 473.7 MB, free: 23.14 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.02195, allocations: 89.88 kB / 473.7 MB, free: 23.12 MB / 410.8 MB Notification: Performance of SimCode: time 1.883e-06/0.02196, allocations: 0 / 473.7 MB, free: 23.12 MB / 410.8 MB Notification: Performance of Templates: time 0.01418/0.03613, allocations: 10.51 MB / 484.2 MB, free: 21.95 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: 8.204717529006302]