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.001217/0.001217, allocations: 79.59 kB / 21.18 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.001672/0.001672, allocations: 161 kB / 24.56 MB, free: 12 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.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.598 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.6235/0.6235, allocations: 88.09 MB / 349.6 MB, free: 14.29 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 453.3 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.749e-05, allocations: 3.078 kB / 453.3 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.00166/0.001687, allocations: 1.423 MB / 454.7 MB, free: 31.42 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006606/0.002348, allocations: 0.5427 MB / 455.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.002386, allocations: 0 / 455.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.934e-05/0.002465, allocations: 11.27 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.002742, allocations: 54.56 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.483e-05/0.002817, allocations: 41.19 kB / 455.4 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.0033, allocations: 1.042 MB / 456.4 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.003344, allocations: 12.84 kB / 456.4 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.003724, allocations: 485 kB / 456.9 MB, free: 30.58 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.00415, allocations: 0.5042 MB / 457.4 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.004238, allocations: 58.72 kB / 457.5 MB, free: 30.45 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.004396, allocations: 88.42 kB / 457.5 MB, free: 30.44 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.004662, allocations: 476.1 kB / 458 MB, free: 30.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.004886, allocations: 361.7 kB / 458.4 MB, free: 30.14 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.005489, allocations: 0.9105 MB / 459.3 MB, free: 29.9 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.005493, allocations: 0 / 459.3 MB, free: 29.9 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005495, allocations: 4 kB / 459.3 MB, free: 29.89 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.005506, allocations: 0 / 459.3 MB, free: 29.89 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.001661/0.007166, allocations: 1.449 MB / 460.7 MB, free: 29.14 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007203, allocations: 8.406 kB / 460.7 MB, free: 29.14 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.007396, allocations: 159.9 kB / 460.9 MB, free: 29.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.007749, allocations: 395.5 kB / 461.3 MB, free: 28.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.007778, allocations: 59.44 kB / 461.3 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.007894, allocations: 117.8 kB / 461.4 MB, free: 28.77 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007492/0.008643, allocations: 0.7102 MB / 462.2 MB, free: 28.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.008659, allocations: 4.438 kB / 462.2 MB, free: 28.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.00872, allocations: 36.5 kB / 462.2 MB, free: 28.56 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.008732, allocations: 17.5 kB / 462.2 MB, free: 28.56 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.009432, allocations: 0.5171 MB / 462.7 MB, free: 28.49 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.01006, allocations: 0.6228 MB / 463.4 MB, free: 28.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.01286, allocations: 2.027 MB / 465.4 MB, free: 27.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.01334, allocations: 429.5 kB / 465.8 MB, free: 27.46 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.01351, allocations: 48.53 kB / 465.8 MB, free: 27.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.01354, allocations: 67.34 kB / 465.9 MB, free: 27.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 3.396e-06/0.01354, allocations: 0 / 465.9 MB, free: 27.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.001853/0.01539, allocations: 1.616 MB / 467.5 MB, free: 27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.01543, allocations: 71.75 kB / 467.6 MB, free: 26.93 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.01556, allocations: 275.8 kB / 467.9 MB, free: 26.73 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.01562, allocations: 62.86 kB / 467.9 MB, free: 26.67 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.01567, allocations: 185.9 kB / 468.1 MB, free: 26.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.01598, allocations: 0.8369 MB / 468.9 MB, free: 25.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.01627, allocations: 388.5 kB / 469.3 MB, free: 25.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.836e-05/0.01633, allocations: 0.4931 MB / 469.8 MB, free: 25.15 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.01681, allocations: 386.5 kB / 470.2 MB, free: 25.1 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.0173, allocations: 416.7 kB / 470.6 MB, free: 25.03 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.01839, allocations: 1.026 MB / 471.6 MB, free: 24.66 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.0184, allocations: 0 / 471.6 MB, free: 24.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001841/0.02024, allocations: 1.468 MB / 473.1 MB, free: 24.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.02026, allocations: 8.781 kB / 473.1 MB, free: 24.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.02027, allocations: 8 kB / 473.1 MB, free: 24.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.02029, allocations: 9.594 kB / 473.1 MB, free: 24.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.02146, allocations: 0.5454 MB / 473.7 MB, free: 24.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.02148, allocations: 9.406 kB / 473.7 MB, free: 24.15 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.02184, allocations: 185.9 kB / 473.9 MB, free: 24.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.02193, allocations: 74.55 kB / 473.9 MB, free: 24 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.0002185/0.02215, allocations: 257.8 kB / 474.2 MB, free: 23.76 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.02232, allocations: 157.5 kB / 474.3 MB, free: 23.68 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.02484, allocations: 1.905 MB / 476.2 MB, free: 23 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.02487, allocations: 27.03 kB / 476.3 MB, free: 23 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.02488, allocations: 0 / 476.3 MB, free: 23 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.0249, allocations: 14.42 kB / 476.3 MB, free: 23 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.02576, allocations: 0.8401 MB / 477.1 MB, free: 22.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.02577, allocations: 4 kB / 477.1 MB, free: 22.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.02739, allocations: 0.6136 MB / 477.7 MB, free: 22.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.0274, allocations: 9.219 kB / 477.7 MB, free: 22.38 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.02752, allocations: 87.34 kB / 477.8 MB, free: 22.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.02753, allocations: 9.094 kB / 477.8 MB, free: 22.34 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02753, allocations: 5.031 kB / 477.8 MB, free: 22.34 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.03027, allocations: 2.374 MB / 480.2 MB, free: 21.57 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.03068, allocations: 325.9 kB / 480.5 MB, free: 21.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.03082, allocations: 78.19 kB / 480.6 MB, free: 21.42 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.03117, allocations: 73.42 kB / 480.7 MB, free: 21.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.03144, allocations: 172.4 kB / 480.9 MB, free: 21.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.03155, allocations: 82.02 kB / 480.9 MB, free: 21.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001023/0.03165, allocations: 191.2 kB / 481.1 MB, free: 21.2 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.03165, allocations: 1.281 kB / 481.1 MB, free: 21.2 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008983/0.03255, allocations: 456.6 kB / 481.6 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.0002994/0.03285, allocations: 220 kB / 481.8 MB, free: 20.97 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.03478, allocations: 1.34 MB / 483.1 MB, free: 20.71 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.03478, allocations: 1.156 kB / 483.1 MB, free: 20.71 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.03574, allocations: 0.8661 MB / 484 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.0005418/0.03628, allocations: 207.6 kB / 484.2 MB, free: 20.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.03981, allocations: 3.868 MB / 488.1 MB, free: 17.09 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.03994, allocations: 309.4 kB / 488.4 MB, free: 16.84 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007555/0.04069, allocations: 0.6115 MB / 489 MB, free: 16.42 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.04108, allocations: 172.8 kB / 489.1 MB, free: 16.27 MB / 410.8 MB Notification: Performance of SimCode: time 1.773e-06/0.04108, allocations: 0 / 489.1 MB, free: 16.27 MB / 410.8 MB Notification: Performance of Templates: time 0.01961/0.06069, allocations: 20.24 MB / 0.4974 GB, free: 14.57 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 31.023521448019892]