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.001504/0.001504, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001615/0.001615, allocations: 161.6 kB / 24.27 MB, free: 172 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 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.032/1.032, allocations: 88.06 MB / 349.1 MB, free: 14.22 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.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",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.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 452.5 MB, free: 32.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.076e-05, allocations: 2.312 kB / 452.5 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001958/0.001989, allocations: 1.385 MB / 453.9 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.002795, allocations: 0.5202 MB / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.002851, allocations: 0 / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.531e-05/0.002946, allocations: 7.078 kB / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.003255, allocations: 59.89 kB / 454.5 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.00336, allocations: 42.58 kB / 454.5 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.003989, allocations: 1.033 MB / 455.5 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.004037, allocations: 15.61 kB / 455.6 MB, free: 30.48 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.004497, allocations: 486.7 kB / 456 MB, free: 30.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.005064, allocations: 0.4918 MB / 456.5 MB, free: 30.2 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.005186, allocations: 60.72 kB / 456.6 MB, free: 30.2 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.00539, allocations: 79.39 kB / 456.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.005751, allocations: 482.6 kB / 457.1 MB, free: 30.02 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.006089, allocations: 363 kB / 457.5 MB, free: 29.9 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.006882, allocations: 0.9068 MB / 458.4 MB, free: 29.65 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.006887, allocations: 0 / 458.4 MB, free: 29.65 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006888, allocations: 0 / 458.4 MB, free: 29.65 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.006899, allocations: 0 / 458.4 MB, free: 29.65 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.002813/0.009713, allocations: 1.229 MB / 459.6 MB, free: 29.04 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.009759, allocations: 8.531 kB / 459.6 MB, free: 29.04 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.01007, allocations: 155.5 kB / 459.8 MB, free: 28.97 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.0107, allocations: 416 kB / 460.2 MB, free: 28.74 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.01074, allocations: 58.41 kB / 460.2 MB, free: 28.72 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.01092, allocations: 125 kB / 460.4 MB, free: 28.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.01254, allocations: 1.133 MB / 461.5 MB, free: 28.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.01256, allocations: 7.938 kB / 461.5 MB, free: 28.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.01266, allocations: 33.06 kB / 461.5 MB, free: 28.31 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.01268, allocations: 17.38 kB / 461.6 MB, free: 28.31 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.01416, allocations: 1.255 MB / 462.8 MB, free: 28.07 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.01529, allocations: 0.8601 MB / 463.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005694/0.02098, allocations: 2.697 MB / 466.4 MB, free: 26.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.02203, allocations: 0.8359 MB / 467.2 MB, free: 26.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.02225, allocations: 50.55 kB / 467.3 MB, free: 26.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.02228, allocations: 57.16 kB / 467.3 MB, free: 26.59 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 4.137e-06/0.02229, allocations: 0 / 467.3 MB, free: 26.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.003776/0.02606, allocations: 2.72 MB / 470 MB, free: 25.8 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.02611, allocations: 75.69 kB / 470.1 MB, free: 25.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.02631, allocations: 229.6 kB / 470.3 MB, free: 25.61 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.02639, allocations: 61.86 kB / 470.4 MB, free: 25.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.02644, allocations: 126.8 kB / 470.5 MB, free: 25.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.02686, allocations: 0.8133 MB / 471.3 MB, free: 24.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/0.02739, allocations: 380.2 kB / 471.7 MB, free: 24.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.02745, allocations: 318.9 kB / 472 MB, free: 24.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.02891, allocations: 0.9184 MB / 472.9 MB, free: 24.06 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.03032, allocations: 0.9516 MB / 473.9 MB, free: 23.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.03329, allocations: 2.067 MB / 475.9 MB, free: 23.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.0333, allocations: 0 / 475.9 MB, free: 23.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003987/0.03729, allocations: 2.528 MB / 478.5 MB, free: 22.27 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.03732, allocations: 5.938 kB / 478.5 MB, free: 22.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.03733, allocations: 0 / 478.5 MB, free: 22.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/0.03737, allocations: 13.72 kB / 478.5 MB, free: 22.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.03935, allocations: 0.5162 MB / 479 MB, free: 22.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.03938, allocations: 9.219 kB / 479 MB, free: 22.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.04006, allocations: 159.1 kB / 479.2 MB, free: 22.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.04021, allocations: 77.12 kB / 479.2 MB, free: 22.08 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.0004549/0.04066, allocations: 309.9 kB / 479.6 MB, free: 21.88 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.04097, allocations: 152.9 kB / 479.7 MB, free: 21.81 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.04531, allocations: 2.713 MB / 482.4 MB, free: 20.82 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.04533, allocations: 26.69 kB / 482.4 MB, free: 20.82 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.04534, allocations: 1.312 kB / 482.4 MB, free: 20.82 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.04536, allocations: 15.23 kB / 482.5 MB, free: 20.82 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.04675, allocations: 1.083 MB / 483.5 MB, free: 20.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.04676, allocations: 0 / 483.5 MB, free: 20.27 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/0.04943, allocations: 0.5923 MB / 484.1 MB, free: 20.22 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/0.04945, allocations: 10.03 kB / 484.1 MB, free: 20.22 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.04966, allocations: 101.7 kB / 484.2 MB, free: 20.18 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.04968, allocations: 12.08 kB / 484.3 MB, free: 20.18 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.04968, allocations: 1.25 kB / 484.3 MB, free: 20.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.05447, allocations: 3.704 MB / 488 MB, free: 17.51 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.05504, allocations: 344.9 kB / 488.3 MB, free: 17.25 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.05522, allocations: 81.11 kB / 488.4 MB, free: 17.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.05585, allocations: 48 kB / 488.4 MB, free: 17.14 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.05611, allocations: 171.1 kB / 488.6 MB, free: 17.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.05623, allocations: 78.7 kB / 488.7 MB, free: 16.98 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000111/0.05634, allocations: 172.4 kB / 488.8 MB, free: 16.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.05634, allocations: 0 / 488.8 MB, free: 16.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007784/0.05712, allocations: 459.2 kB / 489.3 MB, free: 16.39 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.0003476/0.05746, allocations: 218.7 kB / 489.5 MB, free: 16.18 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.06036, allocations: 2.15 MB / 491.6 MB, free: 14.35 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.06036, allocations: 0 / 491.6 MB, free: 14.35 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.06185, allocations: 1.196 MB / 492.8 MB, free: 13.32 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.06257, allocations: 220.2 kB / 493.1 MB, free: 13.13 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/0.06787, allocations: 4.551 MB / 497.6 MB, free: 9.023 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.06833, allocations: 0.5526 MB / 498.2 MB, free: 8.586 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001466/0.0698, allocations: 0.7406 MB / 498.9 MB, free: 8.031 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.07037, allocations: 167.7 kB / 499.1 MB, free: 7.883 MB / 410.8 MB Notification: Performance of SimCode: time 1.162e-06/0.07037, allocations: 0 / 499.1 MB, free: 7.883 MB / 410.8 MB Notification: Performance of Templates: time 0.03159/0.102, allocations: 19.11 MB / 0.506 GB, free: 5.191 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 82.17217749299016]