Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001494/0.001494, allocations: 83.58 kB / 21.19 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.001642/0.001642, 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.9603/0.9603, allocations: 177.1 MB / 205 MB, free: 5.645 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.5891/0.5891, allocations: 88.08 MB / 349.6 MB, free: 14.31 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_20,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_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,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_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 453.3 MB, free: 32.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.107e-05, allocations: 6.734 kB / 453.3 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001851/0.001882, allocations: 1.415 MB / 454.7 MB, free: 31.42 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008373/0.00272, allocations: 0.5467 MB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.00277, allocations: 3 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.357e-05/0.002864, allocations: 7.125 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.003196, allocations: 58.45 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.003309, allocations: 45.42 kB / 455.4 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.003607, allocations: 0.5582 MB / 455.9 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.003653, allocations: 17.8 kB / 455.9 MB, free: 30.85 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.003984, allocations: 258.7 kB / 456.2 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.004312, allocations: 266.5 kB / 456.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.004376, allocations: 28.69 kB / 456.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.004557, allocations: 57.36 kB / 456.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.004782, allocations: 247.3 kB / 456.8 MB, free: 30.61 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.004931, allocations: 184.5 kB / 457 MB, free: 30.55 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.005393, allocations: 491 kB / 457.4 MB, free: 30.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.005397, allocations: 6.75 kB / 457.4 MB, free: 30.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.005399, allocations: 0 / 457.4 MB, free: 30.41 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.005409, allocations: 0 / 457.4 MB, free: 30.41 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001191/0.006599, allocations: 0.8577 MB / 458.3 MB, free: 29.85 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.006644, allocations: 9.031 kB / 458.3 MB, free: 29.85 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.006786, allocations: 82 kB / 458.4 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.007091, allocations: 262.3 kB / 458.6 MB, free: 29.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.007112, allocations: 28.94 kB / 458.7 MB, free: 29.62 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.007195, allocations: 65.88 kB / 458.7 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.007658, allocations: 372 kB / 459.1 MB, free: 29.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.007671, allocations: 0.875 kB / 459.1 MB, free: 29.49 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.007703, allocations: 18.91 kB / 459.1 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.007713, allocations: 12.53 kB / 459.1 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.00808, allocations: 268.5 kB / 459.4 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.008476, allocations: 377.5 kB / 459.8 MB, free: 29.15 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.01009, allocations: 0.9893 MB / 460.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.01036, allocations: 220 kB / 461 MB, free: 28.86 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.01052, allocations: 36.3 kB / 461 MB, free: 28.85 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.01054, allocations: 47.77 kB / 461.1 MB, free: 28.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 3.136e-06/0.01055, allocations: 4 kB / 461.1 MB, free: 28.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.001046/0.01159, allocations: 0.8185 MB / 461.9 MB, free: 28.58 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.01162, allocations: 63.81 kB / 461.9 MB, free: 28.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.01172, allocations: 227.1 kB / 462.2 MB, free: 28.33 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.01176, allocations: 44.67 kB / 462.2 MB, free: 28.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.01179, allocations: 156.6 kB / 462.4 MB, free: 28.14 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.01197, allocations: 437.6 kB / 462.8 MB, free: 27.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.01214, allocations: 207.1 kB / 463 MB, free: 27.69 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.01223, allocations: 0.5489 MB / 463.5 MB, free: 27.17 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.01255, allocations: 199.6 kB / 463.7 MB, free: 27.14 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.01282, allocations: 222.1 kB / 463.9 MB, free: 27.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.01341, allocations: 0.5272 MB / 464.5 MB, free: 26.92 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01342, allocations: 0 / 464.5 MB, free: 26.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0008446/0.01426, allocations: 0.7641 MB / 465.2 MB, free: 26.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01428, allocations: 5.438 kB / 465.2 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.01429, allocations: 0 / 465.2 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01431, allocations: 5.375 kB / 465.2 MB, free: 26.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.01487, allocations: 272.5 kB / 465.5 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.01488, allocations: 4.406 kB / 465.5 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.01506, allocations: 82.83 kB / 465.6 MB, free: 26.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.01511, allocations: 38.88 kB / 465.6 MB, free: 26.59 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 (144): * Single equations (assignments): 144 * 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.0001314/0.01524, allocations: 212 kB / 465.8 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.01532, allocations: 78.83 kB / 465.9 MB, free: 26.35 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.0164, allocations: 0.9825 MB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.01641, allocations: 13.66 kB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01642, allocations: 2.656 kB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.01642, allocations: 6.797 kB / 466.9 MB, free: 26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.01685, allocations: 481.1 kB / 467.4 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01686, allocations: 0 / 467.4 MB, free: 25.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.01765, allocations: 304.4 kB / 467.7 MB, free: 25.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.01766, allocations: 9.188 kB / 467.7 MB, free: 25.63 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.01774, allocations: 47.09 kB / 467.7 MB, free: 25.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.01775, allocations: 11.12 kB / 467.8 MB, free: 25.61 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01775, allocations: 3.938 kB / 467.8 MB, free: 25.61 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.01899, allocations: 1.229 MB / 469 MB, free: 25.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.01919, allocations: 172.8 kB / 469.2 MB, free: 25.14 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.01926, allocations: 40.25 kB / 469.2 MB, free: 25.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.01941, allocations: 25.25 kB / 469.2 MB, free: 25.09 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.0195, allocations: 87.12 kB / 469.3 MB, free: 25.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.01954, allocations: 40.3 kB / 469.3 MB, free: 25.08 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.0196, allocations: 169.8 kB / 469.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0196, allocations: 0 / 469.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003765/0.01997, allocations: 230.6 kB / 469.7 MB, free: 24.91 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.0002381/0.02021, allocations: 155.4 kB / 469.9 MB, free: 24.79 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008855/0.0211, allocations: 0.686 MB / 470.6 MB, free: 24.66 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0211, allocations: 0 / 470.6 MB, free: 24.66 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.02151, allocations: 452.2 kB / 471 MB, free: 24.56 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.02185, allocations: 106.8 kB / 471.1 MB, free: 24.51 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.02415, allocations: 2.025 MB / 473.1 MB, free: 23.29 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.02429, allocations: 188.4 kB / 473.3 MB, free: 23.21 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.02475, allocations: 315 kB / 473.6 MB, free: 23.14 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.02498, allocations: 89.02 kB / 473.7 MB, free: 23.12 MB / 410.8 MB Notification: Performance of SimCode: time 1.232e-06/0.02498, allocations: 0 / 473.7 MB, free: 23.12 MB / 410.8 MB Notification: Performance of Templates: time 0.01358/0.03856, allocations: 9.93 MB / 483.7 MB, free: 21.98 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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: 8.316575705073774]