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.001006/0.001006, allocations: 76.41 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.001085/0.001085, allocations: 164.3 kB / 24.99 MB, free: 8.336 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.7513/0.7513, allocations: 88.07 MB / 349.9 MB, free: 14.3 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 2.535e-06/2.535e-06, allocations: 0 / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.685e-05, allocations: 8.281 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002727/0.002764, allocations: 1.417 MB / 454.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003921, allocations: 0.5414 MB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.004012, allocations: 0 / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.004148, allocations: 14.11 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.004712, allocations: 59.11 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.004948, allocations: 45.33 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.006018, allocations: 1.029 MB / 456.3 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.006105, allocations: 12.94 kB / 456.4 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.009387, allocations: 485.9 kB / 456.8 MB, free: 30.58 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.01058, allocations: 0.4931 MB / 457.3 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.01072, allocations: 60.41 kB / 457.4 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.01099, allocations: 86.73 kB / 457.5 MB, free: 30.44 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.01146, allocations: 471 kB / 457.9 MB, free: 30.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.01189, allocations: 361.6 kB / 458.3 MB, free: 30.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01291, allocations: 0.9163 MB / 459.2 MB, free: 29.9 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.01292, allocations: 0 / 459.2 MB, free: 29.9 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.605e-06/0.01292, allocations: 4 kB / 459.2 MB, free: 29.9 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.01294, allocations: 0 / 459.2 MB, free: 29.9 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.002729/0.01567, allocations: 1.449 MB / 460.7 MB, free: 29.15 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.01574, allocations: 9.188 kB / 460.7 MB, free: 29.15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.01611, allocations: 155.5 kB / 460.8 MB, free: 29.08 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/0.01682, allocations: 393.8 kB / 461.2 MB, free: 28.85 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.01688, allocations: 62.41 kB / 461.3 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.01708, allocations: 122.7 kB / 461.4 MB, free: 28.77 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.01833, allocations: 0.707 MB / 462.1 MB, free: 28.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.01836, allocations: 0 / 462.1 MB, free: 28.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.754e-05/0.01845, allocations: 32.66 kB / 462.1 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.01848, allocations: 17.16 kB / 462.1 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.01956, allocations: 0.521 MB / 462.7 MB, free: 28.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.02058, allocations: 0.6271 MB / 463.3 MB, free: 28.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.02512, allocations: 2.023 MB / 465.3 MB, free: 27.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/0.02594, allocations: 431.6 kB / 465.7 MB, free: 27.46 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.02618, allocations: 47.41 kB / 465.8 MB, free: 27.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.02623, allocations: 67.34 kB / 465.8 MB, free: 27.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 6.472e-06/0.02623, allocations: 3.938 kB / 465.8 MB, free: 27.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.003151/0.02938, allocations: 1.606 MB / 467.5 MB, free: 27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.02943, allocations: 74.41 kB / 467.5 MB, free: 26.94 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.02965, allocations: 278.7 kB / 467.8 MB, free: 26.73 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.02973, allocations: 61.58 kB / 467.9 MB, free: 26.68 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.0298, allocations: 183.2 kB / 468 MB, free: 26.51 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005076/0.03031, allocations: 0.8358 MB / 468.9 MB, free: 25.83 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.03079, allocations: 389.7 kB / 469.3 MB, free: 25.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.03086, allocations: 0.489 MB / 469.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.03172, allocations: 389 kB / 470.1 MB, free: 25.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.03258, allocations: 424.7 kB / 470.5 MB, free: 25.03 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.0345, allocations: 1.025 MB / 471.6 MB, free: 24.67 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.03451, allocations: 0 / 471.6 MB, free: 24.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00291/0.03742, allocations: 1.471 MB / 473 MB, free: 24.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.03745, allocations: 5.531 kB / 473 MB, free: 24.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.03746, allocations: 4 kB / 473 MB, free: 24.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.03749, allocations: 9.25 kB / 473 MB, free: 24.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.03941, allocations: 0.5459 MB / 473.6 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.475e-05/0.03945, allocations: 10.09 kB / 473.6 MB, free: 24.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.04017, allocations: 182.6 kB / 473.8 MB, free: 24.03 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.04031, allocations: 75.36 kB / 473.9 MB, free: 24.01 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.0003931/0.04071, allocations: 263.9 kB / 474.1 MB, free: 23.76 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.04095, allocations: 153.5 kB / 474.3 MB, free: 23.69 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.04343, allocations: 1.909 MB / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.04345, allocations: 27.84 kB / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.04346, allocations: 0 / 476.2 MB, free: 23.01 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.04347, allocations: 17.58 kB / 476.2 MB, free: 23 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.04438, allocations: 0.8326 MB / 477 MB, free: 22.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.04439, allocations: 5.031 kB / 477.1 MB, free: 22.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.0461, allocations: 0.6091 MB / 477.7 MB, free: 22.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/0.04612, allocations: 8.781 kB / 477.7 MB, free: 22.39 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.04625, allocations: 95.16 kB / 477.8 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.04626, allocations: 8.906 kB / 477.8 MB, free: 22.35 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.04627, allocations: 7.938 kB / 477.8 MB, free: 22.34 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.04927, allocations: 2.361 MB / 480.1 MB, free: 21.59 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.0497, allocations: 331.3 kB / 480.5 MB, free: 21.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.04985, allocations: 77.5 kB / 480.5 MB, free: 21.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.05022, allocations: 73.39 kB / 480.6 MB, free: 21.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.05043, allocations: 174.9 kB / 480.8 MB, free: 21.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.05053, allocations: 78.42 kB / 480.9 MB, free: 21.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.05062, allocations: 195.3 kB / 481.1 MB, free: 21.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.05062, allocations: 0 / 481.1 MB, free: 21.21 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007711/0.05139, allocations: 453.3 kB / 481.5 MB, free: 21.13 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.0002734/0.05167, allocations: 223.7 kB / 481.7 MB, free: 20.97 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.05352, allocations: 1.344 MB / 483.1 MB, free: 20.71 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.05352, allocations: 1.594 kB / 483.1 MB, free: 20.71 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.05447, allocations: 0.8628 MB / 483.9 MB, free: 20.52 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.05499, allocations: 209.6 kB / 484.1 MB, free: 20.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.05882, allocations: 3.87 MB / 488 MB, free: 17.42 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.05897, allocations: 309.9 kB / 488.3 MB, free: 17.17 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.000806/0.05978, allocations: 0.6087 MB / 488.9 MB, free: 16.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.06015, allocations: 171.3 kB / 489.1 MB, free: 16.59 MB / 410.8 MB Notification: Performance of SimCode: time 1.442e-06/0.06016, allocations: 0 / 489.1 MB, free: 16.59 MB / 410.8 MB Notification: Performance of Templates: time 0.01982/0.07998, allocations: 19.12 MB / 0.4963 GB, free: 36 kB / 410.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: 40.97653267905116]