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.001556/0.001556, 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.001855/0.001855, allocations: 161.7 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.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.106/1.106, allocations: 88.07 MB / 349.1 MB, free: 14.21 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 1.493e-06/1.493e-06, allocations: 0 / 452.5 MB, free: 32.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.779e-05, allocations: 6.234 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.002048/0.002076, allocations: 1.384 MB / 453.9 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.002977, allocations: 0.5191 MB / 454.4 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.003025, allocations: 0 / 454.4 MB, free: 30.87 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.003123, allocations: 15.2 kB / 454.4 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.003443, allocations: 54.73 kB / 454.5 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.003552, allocations: 44.33 kB / 454.5 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.004176, allocations: 1.031 MB / 455.5 MB, free: 30.53 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.004218, allocations: 12.45 kB / 455.6 MB, free: 30.53 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.004655, allocations: 484 kB / 456 MB, free: 30.38 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.005178, allocations: 0.5004 MB / 456.5 MB, free: 30.25 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.005295, allocations: 58.41 kB / 456.6 MB, free: 30.25 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.005485, allocations: 87 kB / 456.7 MB, free: 30.24 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.005853, allocations: 480.5 kB / 457.1 MB, free: 30.06 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.00618, allocations: 355.3 kB / 457.5 MB, free: 29.95 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006662/0.006846, allocations: 0.9078 MB / 458.4 MB, free: 29.7 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.006851, allocations: 4 kB / 458.4 MB, free: 29.7 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006852, allocations: 0 / 458.4 MB, free: 29.7 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.006863, allocations: 0 / 458.4 MB, free: 29.7 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.002772/0.009635, allocations: 1.23 MB / 459.6 MB, free: 29.08 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.009677, allocations: 8.812 kB / 459.6 MB, free: 29.08 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.009983, allocations: 154.2 kB / 459.8 MB, free: 29.01 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.01064, allocations: 411.2 kB / 460.2 MB, free: 28.79 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.01068, allocations: 62.06 kB / 460.2 MB, free: 28.76 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.01087, allocations: 125.3 kB / 460.4 MB, free: 28.71 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.01244, allocations: 1.137 MB / 461.5 MB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.01246, allocations: 0 / 461.5 MB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.01256, allocations: 29.94 kB / 461.5 MB, free: 28.36 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.01258, allocations: 20.72 kB / 461.6 MB, free: 28.36 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.01409, allocations: 1.251 MB / 462.8 MB, free: 28.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.0152, allocations: 0.8699 MB / 463.7 MB, free: 27.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005667/0.02086, allocations: 2.693 MB / 466.4 MB, free: 26.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.02192, allocations: 0.8365 MB / 467.2 MB, free: 26.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.02215, allocations: 54.72 kB / 467.3 MB, free: 26.69 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.02218, allocations: 54.84 kB / 467.3 MB, free: 26.64 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 4.138e-06/0.02218, allocations: 0 / 467.3 MB, free: 26.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.003872/0.02605, allocations: 2.718 MB / 470 MB, free: 25.85 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.0261, allocations: 75.22 kB / 470.1 MB, free: 25.78 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.02631, allocations: 231.3 kB / 470.3 MB, free: 25.65 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/0.02639, allocations: 62.23 kB / 470.4 MB, free: 25.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.02646, allocations: 126.7 kB / 470.5 MB, free: 25.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.02689, allocations: 0.8109 MB / 471.3 MB, free: 24.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.02741, allocations: 379.9 kB / 471.7 MB, free: 24.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.02747, allocations: 322.2 kB / 472 MB, free: 24.35 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.02891, allocations: 0.92 MB / 472.9 MB, free: 24.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.03027, allocations: 0.9503 MB / 473.9 MB, free: 23.85 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.03371, allocations: 2.067 MB / 476 MB, free: 23.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.03372, allocations: 0 / 476 MB, free: 23.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003765/0.03748, allocations: 2.52 MB / 478.5 MB, free: 22.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.03751, allocations: 5.469 kB / 478.5 MB, free: 22.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.03752, allocations: 3.938 kB / 478.5 MB, free: 22.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/0.03756, allocations: 9.906 kB / 478.5 MB, free: 22.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.03961, allocations: 0.5195 MB / 479 MB, free: 22.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/0.03965, allocations: 13.06 kB / 479 MB, free: 22.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/0.04045, allocations: 153.3 kB / 479.2 MB, free: 22.15 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.0406, allocations: 79.31 kB / 479.2 MB, free: 22.13 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.0004726/0.04107, allocations: 310.9 kB / 479.6 MB, free: 21.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.04141, allocations: 152.9 kB / 479.7 MB, free: 21.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/0.04579, allocations: 2.719 MB / 482.4 MB, free: 20.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.04582, allocations: 27.66 kB / 482.4 MB, free: 20.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.04583, allocations: 0 / 482.4 MB, free: 20.86 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.04586, allocations: 14.11 kB / 482.5 MB, free: 20.86 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.04741, allocations: 1.083 MB / 483.5 MB, free: 20.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.04742, allocations: 1.094 kB / 483.5 MB, free: 20.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/0.05014, allocations: 0.5919 MB / 484.1 MB, free: 20.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-05/0.05016, allocations: 10.47 kB / 484.1 MB, free: 20.26 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/0.05037, allocations: 98.5 kB / 484.2 MB, free: 20.22 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.05038, allocations: 13.94 kB / 484.3 MB, free: 20.22 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.05038, allocations: 0 / 484.3 MB, free: 20.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.05526, allocations: 3.705 MB / 488 MB, free: 17.56 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.0559, allocations: 341.4 kB / 488.3 MB, free: 17.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.0561, allocations: 84.64 kB / 488.4 MB, free: 17.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/0.05673, allocations: 44 kB / 488.4 MB, free: 17.19 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.057, allocations: 171 kB / 488.6 MB, free: 17.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.05712, allocations: 78.8 kB / 488.7 MB, free: 17.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001297/0.05725, allocations: 168.5 kB / 488.8 MB, free: 16.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.05725, allocations: 4 kB / 488.8 MB, free: 16.89 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0007606/0.05801, allocations: 455.9 kB / 489.3 MB, free: 16.45 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.0003308/0.05834, allocations: 218 kB / 489.5 MB, free: 16.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.06134, allocations: 2.153 MB / 491.6 MB, free: 14.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.06135, allocations: 0 / 491.6 MB, free: 14.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.0629, allocations: 1.195 MB / 492.8 MB, free: 13.37 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.0638, allocations: 216.3 kB / 493.1 MB, free: 13.19 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/0.07079, allocations: 4.563 MB / 497.6 MB, free: 9.07 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.07137, allocations: 0.5525 MB / 498.2 MB, free: 8.633 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001806/0.07317, allocations: 0.7404 MB / 498.9 MB, free: 8.078 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.07374, allocations: 171.9 kB / 499.1 MB, free: 7.926 MB / 410.8 MB Notification: Performance of SimCode: time 1.674e-06/0.07375, allocations: 0 / 499.1 MB, free: 7.926 MB / 410.8 MB Notification: Performance of Templates: time 0.03188/0.1056, allocations: 19.09 MB / 0.506 GB, free: 5.211 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 300] 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.6158165789675]