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.001881/0.001881, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001977/0.001977, allocations: 165.3 kB / 24.27 MB, free: 148 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.55/1.55, allocations: 177.2 MB / 204.6 MB, free: 5.578 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 0.8763/0.8763, allocations: 88.08 MB / 349.2 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 452.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.46e-05/4.672e-05, allocations: 5.406 kB / 452.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.00208/0.002127, allocations: 1.406 MB / 453.9 MB, free: 31.19 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008762/0.003003, allocations: 0.5325 MB / 454.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.003055, allocations: 0 / 454.4 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.00315, allocations: 9.906 kB / 454.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.003474, allocations: 57.55 kB / 454.5 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.003577, allocations: 52.02 kB / 454.6 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.004247, allocations: 1.029 MB / 455.6 MB, free: 30.51 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.004295, allocations: 16.8 kB / 455.6 MB, free: 30.5 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.004756, allocations: 484.2 kB / 456.1 MB, free: 30.35 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.005303, allocations: 0.4902 MB / 456.6 MB, free: 30.22 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.005437, allocations: 57.72 kB / 456.6 MB, free: 30.22 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.005675, allocations: 81.36 kB / 456.7 MB, free: 30.22 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.006047, allocations: 484.6 kB / 457.2 MB, free: 30.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.00641, allocations: 360.5 kB / 457.5 MB, free: 29.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007639/0.007174, allocations: 0.91 MB / 458.4 MB, free: 29.67 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.007178, allocations: 0 / 458.4 MB, free: 29.67 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007179, allocations: 6.875 kB / 458.5 MB, free: 29.67 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.00719, allocations: 0 / 458.5 MB, free: 29.67 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.002892/0.01008, allocations: 1.446 MB / 459.9 MB, free: 28.92 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01012, allocations: 12.31 kB / 459.9 MB, free: 28.91 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.01039, allocations: 160.2 kB / 460.1 MB, free: 28.84 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/0.01116, allocations: 392.2 kB / 460.4 MB, free: 28.62 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.01121, allocations: 60.91 kB / 460.5 MB, free: 28.59 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.01141, allocations: 120.4 kB / 460.6 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.01255, allocations: 0.7342 MB / 461.4 MB, free: 28.35 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.01257, allocations: 0 / 461.4 MB, free: 28.35 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.01266, allocations: 32.38 kB / 461.4 MB, free: 28.33 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.01267, allocations: 19 kB / 461.4 MB, free: 28.33 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.01387, allocations: 0.7963 MB / 462.2 MB, free: 28.25 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01491, allocations: 0.6309 MB / 462.8 MB, free: 27.82 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/0.02019, allocations: 1.997 MB / 464.8 MB, free: 27.28 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.02099, allocations: 455.4 kB / 465.3 MB, free: 27.19 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.02122, allocations: 50.08 kB / 465.3 MB, free: 27.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.02125, allocations: 59.2 kB / 465.4 MB, free: 27.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 4.778e-06/0.02125, allocations: 3.984 kB / 465.4 MB, free: 27.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.002922/0.02418, allocations: 1.685 MB / 467.1 MB, free: 26.72 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.02422, allocations: 74.41 kB / 467.1 MB, free: 26.65 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.02441, allocations: 278.8 kB / 467.4 MB, free: 26.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.57e-05/0.02448, allocations: 60.86 kB / 467.5 MB, free: 26.39 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.02455, allocations: 183.9 kB / 467.7 MB, free: 26.22 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.02498, allocations: 0.8462 MB / 468.5 MB, free: 25.54 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.02542, allocations: 395.6 kB / 468.9 MB, free: 25.36 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.02549, allocations: 0.4919 MB / 469.4 MB, free: 24.87 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.0263, allocations: 420.8 kB / 469.8 MB, free: 24.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.02714, allocations: 449.7 kB / 470.2 MB, free: 24.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.02902, allocations: 1.11 MB / 471.3 MB, free: 24.35 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.02902, allocations: 0 / 471.3 MB, free: 24.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003053/0.03207, allocations: 1.526 MB / 472.9 MB, free: 23.89 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.0321, allocations: 5.031 kB / 472.9 MB, free: 23.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.03211, allocations: 4 kB / 472.9 MB, free: 23.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.03214, allocations: 13.56 kB / 472.9 MB, free: 23.88 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.03421, allocations: 0.541 MB / 473.4 MB, free: 23.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/0.03425, allocations: 14.09 kB / 473.4 MB, free: 23.83 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.03507, allocations: 183.1 kB / 473.6 MB, free: 23.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.03524, allocations: 78.41 kB / 473.7 MB, free: 23.68 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.0003345/0.03558, allocations: 260.5 kB / 474 MB, free: 23.43 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.03585, allocations: 153.4 kB / 474.1 MB, free: 23.36 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/0.03981, allocations: 2.001 MB / 476.1 MB, free: 22.65 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.03984, allocations: 26.41 kB / 476.1 MB, free: 22.65 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.03985, allocations: 1.438 kB / 476.1 MB, free: 22.65 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.03987, allocations: 13.45 kB / 476.1 MB, free: 22.65 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.0411, allocations: 0.8567 MB / 477 MB, free: 22.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.0411, allocations: 4 kB / 477 MB, free: 22.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/0.04399, allocations: 0.6064 MB / 477.6 MB, free: 22.03 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.626e-05/0.04401, allocations: 8.562 kB / 477.6 MB, free: 22.03 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.0442, allocations: 98.45 kB / 477.7 MB, free: 21.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.04421, allocations: 12.97 kB / 477.7 MB, free: 21.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.04421, allocations: 1.219 kB / 477.7 MB, free: 21.98 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/0.0483, allocations: 2.561 MB / 480.3 MB, free: 21.14 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/0.0491, allocations: 329.7 kB / 480.6 MB, free: 21.03 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.0493, allocations: 74.14 kB / 480.7 MB, free: 20.99 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/0.05007, allocations: 77.23 kB / 480.8 MB, free: 20.95 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.05035, allocations: 170.4 kB / 480.9 MB, free: 20.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.0505, allocations: 82.09 kB / 481 MB, free: 20.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001351/0.05063, allocations: 192.7 kB / 481.2 MB, free: 20.77 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.05063, allocations: 0 / 481.2 MB, free: 20.77 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0009102/0.05154, allocations: 456.8 kB / 481.6 MB, free: 20.7 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.0002989/0.05184, allocations: 219.1 kB / 481.9 MB, free: 20.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.05436, allocations: 1.424 MB / 483.3 MB, free: 20.25 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.05436, allocations: 0 / 483.3 MB, free: 20.25 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.05562, allocations: 0.9036 MB / 484.2 MB, free: 19.91 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.05633, allocations: 209.3 kB / 484.4 MB, free: 19.73 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.06104, allocations: 3.897 MB / 488.3 MB, free: 16.11 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.06137, allocations: 0.5173 MB / 488.8 MB, free: 15.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001209/0.06258, allocations: 0.6097 MB / 489.4 MB, free: 15.29 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.06315, allocations: 169.2 kB / 489.6 MB, free: 15.14 MB / 410.8 MB Notification: Performance of SimCode: time 1.974e-06/0.06315, allocations: 0 / 489.6 MB, free: 15.14 MB / 410.8 MB Notification: Performance of Templates: time 0.02864/0.0918, allocations: 19.13 MB / 0.4968 GB, free: 14.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_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: 58.51497473800555]