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.0009491/0.0009491, allocations: 80.23 kB / 21.18 MB, free: 3.387 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.0009323/0.0009323, allocations: 161 kB / 24.56 MB, free: 16 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 0.9468/0.9468, allocations: 177.1 MB / 205 MB, free: 5.289 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.7833/0.7833, allocations: 88.08 MB / 349.6 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.[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 1.723e-06/1.723e-06, allocations: 0 / 453.3 MB, free: 32.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.096e-05, allocations: 5.828 kB / 453.3 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001729/0.00176, allocations: 1.424 MB / 454.7 MB, free: 31.4 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.002432, allocations: 0.5438 MB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.002478, allocations: 0 / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.642e-05/0.002564, allocations: 11.02 kB / 455.3 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.002866, allocations: 60.81 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.225e-05/0.002948, allocations: 44.27 kB / 455.4 MB, free: 31 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.003436, allocations: 1.025 MB / 456.4 MB, free: 30.72 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.003484, allocations: 16.55 kB / 456.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.003866, allocations: 491.5 kB / 456.9 MB, free: 30.55 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.004277, allocations: 0.4938 MB / 457.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 9.613e-05/0.004374, allocations: 58.22 kB / 457.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.004537, allocations: 80.81 kB / 457.5 MB, free: 30.42 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.004816, allocations: 490.5 kB / 458 MB, free: 30.24 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.005055, allocations: 349.9 kB / 458.3 MB, free: 30.12 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.005597, allocations: 0.9109 MB / 459.3 MB, free: 29.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0056, allocations: 0 / 459.3 MB, free: 29.88 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005601, allocations: 0 / 459.3 MB, free: 29.88 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.005611, allocations: 0 / 459.3 MB, free: 29.88 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.001576/0.007187, allocations: 1.448 MB / 460.7 MB, free: 29.13 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.007226, allocations: 8.688 kB / 460.7 MB, free: 29.13 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.007412, allocations: 159.2 kB / 460.9 MB, free: 29.05 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.007832, allocations: 397.8 kB / 461.3 MB, free: 28.83 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.00787, allocations: 63.66 kB / 461.3 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.008003, allocations: 117 kB / 461.4 MB, free: 28.75 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.008772, allocations: 0.7038 MB / 462.1 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.008788, allocations: 0.5625 kB / 462.1 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.008853, allocations: 33 kB / 462.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.008871, allocations: 24.3 kB / 462.2 MB, free: 28.54 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.009557, allocations: 0.5232 MB / 462.7 MB, free: 28.47 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.01018, allocations: 0.625 MB / 463.3 MB, free: 28.04 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.0131, allocations: 2.029 MB / 465.4 MB, free: 27.52 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.0136, allocations: 433.1 kB / 465.8 MB, free: 27.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.01376, allocations: 45.97 kB / 465.8 MB, free: 27.42 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01378, allocations: 60.55 kB / 465.9 MB, free: 27.36 MB / 410.8 MB Notification: Performance of pre-optimization done (n=203): time 3.226e-06/0.01379, allocations: 4 kB / 465.9 MB, free: 27.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=203): time 0.001861/0.01565, allocations: 1.608 MB / 467.5 MB, free: 26.98 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.01568, allocations: 80.66 kB / 467.6 MB, free: 26.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.0158, allocations: 275.7 kB / 467.9 MB, free: 26.71 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.01587, allocations: 56.2 kB / 467.9 MB, free: 26.65 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.01591, allocations: 183.4 kB / 468.1 MB, free: 26.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.01621, allocations: 0.8366 MB / 468.9 MB, free: 25.81 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.01651, allocations: 385.8 kB / 469.3 MB, free: 25.62 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.01656, allocations: 0.495 MB / 469.8 MB, free: 25.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.01706, allocations: 389.7 kB / 470.2 MB, free: 25.08 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.01756, allocations: 415.7 kB / 470.6 MB, free: 25.01 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.01867, allocations: 1.023 MB / 471.6 MB, free: 24.65 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.01868, allocations: 0 / 471.6 MB, free: 24.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001866/0.02054, allocations: 1.473 MB / 473.1 MB, free: 24.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.02056, allocations: 8.969 kB / 473.1 MB, free: 24.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.02057, allocations: 0 / 473.1 MB, free: 24.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.02059, allocations: 12.84 kB / 473.1 MB, free: 24.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.0218, allocations: 0.5423 MB / 473.6 MB, free: 24.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.02182, allocations: 10.09 kB / 473.7 MB, free: 24.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.02217, allocations: 181.7 kB / 473.8 MB, free: 24.01 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/0.02227, allocations: 78.92 kB / 473.9 MB, free: 23.99 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.0002042/0.02247, allocations: 260.6 kB / 474.2 MB, free: 23.74 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.02266, allocations: 153.5 kB / 474.3 MB, free: 23.67 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.02496, allocations: 1.909 MB / 476.2 MB, free: 22.99 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.02498, allocations: 31.34 kB / 476.3 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.02498, allocations: 0 / 476.3 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.025, allocations: 13.78 kB / 476.3 MB, free: 22.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.0258, allocations: 0.843 MB / 477.1 MB, free: 22.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.0258, allocations: 1.312 kB / 477.1 MB, free: 22.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.02742, allocations: 0.6149 MB / 477.7 MB, free: 22.36 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.02743, allocations: 9.5 kB / 477.7 MB, free: 22.36 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.02756, allocations: 94.52 kB / 477.8 MB, free: 22.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.02757, allocations: 8.719 kB / 477.8 MB, free: 22.32 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02757, allocations: 1.312 kB / 477.8 MB, free: 22.32 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.03038, allocations: 2.367 MB / 480.2 MB, free: 21.56 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.03079, allocations: 325.5 kB / 480.5 MB, free: 21.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.03092, allocations: 77.16 kB / 480.6 MB, free: 21.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.03125, allocations: 74.14 kB / 480.7 MB, free: 21.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.03143, allocations: 170.2 kB / 480.8 MB, free: 21.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/0.03151, allocations: 77.7 kB / 480.9 MB, free: 21.32 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.03159, allocations: 194.2 kB / 481.1 MB, free: 21.19 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03159, allocations: 3.938 kB / 481.1 MB, free: 21.18 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006477/0.03224, allocations: 458.7 kB / 481.6 MB, free: 21.11 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.000243/0.03248, allocations: 210.5 kB / 481.8 MB, free: 20.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.03422, allocations: 1.349 MB / 483.1 MB, free: 20.69 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.03422, allocations: 5.219 kB / 483.1 MB, free: 20.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009551/0.03518, allocations: 0.8582 MB / 484 MB, free: 20.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.03568, allocations: 205.3 kB / 484.2 MB, free: 20.39 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.03935, allocations: 3.872 MB / 488 MB, free: 17.09 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.03951, allocations: 313.6 kB / 488.4 MB, free: 16.83 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0007508/0.04026, allocations: 0.6101 MB / 489 MB, free: 16.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.04066, allocations: 165.8 kB / 489.1 MB, free: 16.26 MB / 410.8 MB Notification: Performance of SimCode: time 8.92e-07/0.04066, allocations: 4 kB / 489.1 MB, free: 16.26 MB / 410.8 MB Notification: Performance of Templates: time 0.0201/0.06076, allocations: 19.14 MB / 0.4964 GB, free: 15.67 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=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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 46.816783513873816]