Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001161/0.001161, allocations: 84.23 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.001225/0.001225, allocations: 165 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 0.9487/0.9487, allocations: 177.1 MB / 205 MB, free: 5.586 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.7556/0.7556, allocations: 88.07 MB / 349.6 MB, free: 14.26 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 453.3 MB, free: 32.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.555e-05, allocations: 2.312 kB / 453.3 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001404/0.00142, allocations: 1.423 MB / 454.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005365/0.001956, allocations: 0.5341 MB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.001981, allocations: 0 / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.002022, allocations: 15.19 kB / 455.3 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.00218, allocations: 65.06 kB / 455.3 MB, free: 31 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.519e-05/0.002246, allocations: 45.23 kB / 455.4 MB, free: 30.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.002504, allocations: 0.5504 MB / 455.9 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.551e-05/0.00253, allocations: 9.938 kB / 455.9 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.002717, allocations: 266.3 kB / 456.2 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.002925, allocations: 276.5 kB / 456.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.00297, allocations: 28.59 kB / 456.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.003058, allocations: 52.55 kB / 456.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.003196, allocations: 253.5 kB / 456.8 MB, free: 30.57 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.003323, allocations: 179.7 kB / 457 MB, free: 30.51 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.003603, allocations: 494.5 kB / 457.5 MB, free: 30.38 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003605, allocations: 4 kB / 457.5 MB, free: 30.37 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003605, allocations: 0 / 457.5 MB, free: 30.37 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.003609, allocations: 0 / 457.5 MB, free: 30.37 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.0007719/0.004381, allocations: 0.8536 MB / 458.3 MB, free: 29.82 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.004413, allocations: 11.03 kB / 458.3 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.004508, allocations: 77.91 kB / 458.4 MB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.0047, allocations: 263.8 kB / 458.7 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.004716, allocations: 30.66 kB / 458.7 MB, free: 29.58 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.004777, allocations: 71.95 kB / 458.8 MB, free: 29.54 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.005155, allocations: 377.7 kB / 459.1 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005164, allocations: 0 / 459.1 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.005199, allocations: 14.88 kB / 459.1 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.005208, allocations: 8.656 kB / 459.1 MB, free: 29.43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.005531, allocations: 268.5 kB / 459.4 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.005882, allocations: 376.2 kB / 459.8 MB, free: 29.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.007309, allocations: 0.9857 MB / 460.8 MB, free: 28.87 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.007553, allocations: 224 kB / 461 MB, free: 28.82 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.952e-05/0.007653, allocations: 38.41 kB / 461 MB, free: 28.81 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.007672, allocations: 48.23 kB / 461.1 MB, free: 28.76 MB / 410.8 MB Notification: Performance of pre-optimization done (n=103): time 1.764e-06/0.007674, allocations: 0 / 461.1 MB, free: 28.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=103): time 0.000959/0.008633, allocations: 0.8195 MB / 461.9 MB, free: 28.54 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.008655, allocations: 62.97 kB / 461.9 MB, free: 28.48 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.008736, allocations: 228.3 kB / 462.2 MB, free: 28.29 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.008771, allocations: 43.05 kB / 462.2 MB, free: 28.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.008809, allocations: 157.3 kB / 462.4 MB, free: 28.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.008986, allocations: 434.6 kB / 462.8 MB, free: 27.76 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.009147, allocations: 210 kB / 463 MB, free: 27.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.00923, allocations: 0.5489 MB / 463.5 MB, free: 27.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.009478, allocations: 200.3 kB / 463.7 MB, free: 27.11 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.009723, allocations: 221.7 kB / 464 MB, free: 27.06 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.01028, allocations: 0.5258 MB / 464.5 MB, free: 26.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01029, allocations: 0 / 464.5 MB, free: 26.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007567/0.01104, allocations: 0.7658 MB / 465.2 MB, free: 26.65 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01106, allocations: 6.625 kB / 465.3 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01106, allocations: 3.328 kB / 465.3 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.01107, allocations: 4.406 kB / 465.3 MB, free: 26.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.0116, allocations: 268.7 kB / 465.5 MB, free: 26.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01161, allocations: 5.875 kB / 465.5 MB, free: 26.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.01176, allocations: 77.83 kB / 465.6 MB, free: 26.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.0118, allocations: 48.92 kB / 465.7 MB, free: 26.55 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.0001126/0.01191, allocations: 200.3 kB / 465.8 MB, free: 26.35 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.01199, allocations: 81.7 kB / 465.9 MB, free: 26.31 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.01297, allocations: 0.9831 MB / 466.9 MB, free: 25.97 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.01298, allocations: 17.41 kB / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.01298, allocations: 0 / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.01299, allocations: 9.375 kB / 466.9 MB, free: 25.96 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.01335, allocations: 483.8 kB / 467.4 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01336, allocations: 0 / 467.4 MB, free: 25.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.0141, allocations: 306.3 kB / 467.7 MB, free: 25.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.01411, allocations: 9.562 kB / 467.7 MB, free: 25.59 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.01416, allocations: 45.77 kB / 467.8 MB, free: 25.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01417, allocations: 9.219 kB / 467.8 MB, free: 25.57 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01417, allocations: 3.984 kB / 467.8 MB, free: 25.56 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.0153, allocations: 1.226 MB / 469 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.01546, allocations: 168.7 kB / 469.2 MB, free: 25.1 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.01552, allocations: 39.89 kB / 469.2 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.01567, allocations: 24.88 kB / 469.2 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.01575, allocations: 87.42 kB / 469.3 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.01579, allocations: 43.5 kB / 469.4 MB, free: 25.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.01583, allocations: 160.6 kB / 469.5 MB, free: 24.91 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01583, allocations: 0 / 469.5 MB, free: 24.91 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000288/0.01612, allocations: 233 kB / 469.7 MB, free: 24.88 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.0001329/0.01625, allocations: 166.2 kB / 469.9 MB, free: 24.74 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006633/0.01691, allocations: 0.6897 MB / 470.6 MB, free: 24.61 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01691, allocations: 0 / 470.6 MB, free: 24.61 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.01729, allocations: 445.5 kB / 471 MB, free: 24.52 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01756, allocations: 113 kB / 471.1 MB, free: 24.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.01953, allocations: 2.014 MB / 473.2 MB, free: 23.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.01965, allocations: 190.1 kB / 473.3 MB, free: 23.17 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.02007, allocations: 309.2 kB / 473.6 MB, free: 23.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.02028, allocations: 85.17 kB / 473.7 MB, free: 23.09 MB / 410.8 MB Notification: Performance of SimCode: time 6.81e-07/0.02028, allocations: 1.25 kB / 473.7 MB, free: 23.09 MB / 410.8 MB Notification: Performance of Templates: time 0.01214/0.03243, allocations: 10.52 MB / 484.2 MB, free: 21.91 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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: 10.846454238984734]