Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001534/0.001534, allocations: 84.22 kB / 21.19 MB, free: 3.375 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.001785/0.001785, allocations: 161 kB / 24.56 MB, free: 8 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.633 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.6735/0.6735, allocations: 88.07 MB / 349.5 MB, free: 14.32 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_10,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_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,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_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 453.3 MB, free: 32.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.447e-05/4.674e-05, allocations: 5.375 kB / 453.3 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001971/0.002018, allocations: 1.428 MB / 454.7 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.002905, allocations: 0.5436 MB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.002961, allocations: 0 / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003067, allocations: 7.172 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.003434, allocations: 61.78 kB / 455.3 MB, free: 31.01 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.021e-05/0.003524, allocations: 43.94 kB / 455.4 MB, free: 30.99 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.00373, allocations: 324.1 kB / 455.7 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.003772, allocations: 7.031 kB / 455.7 MB, free: 30.89 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.003982, allocations: 167.9 kB / 455.9 MB, free: 30.83 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.004177, allocations: 148.8 kB / 456 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.004214, allocations: 17.06 kB / 456 MB, free: 30.8 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.004309, allocations: 35.55 kB / 456.1 MB, free: 30.79 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.00442, allocations: 131.1 kB / 456.2 MB, free: 30.75 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.116e-05/0.004501, allocations: 98.56 kB / 456.3 MB, free: 30.71 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.004735, allocations: 271.6 kB / 456.5 MB, free: 30.64 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.004739, allocations: 0 / 456.5 MB, free: 30.64 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.382e-06/0.004741, allocations: 3.938 kB / 456.5 MB, free: 30.63 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.004747, allocations: 0 / 456.5 MB, free: 30.63 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006546/0.005401, allocations: 0.6148 MB / 457.2 MB, free: 30.16 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.005441, allocations: 8.594 kB / 457.2 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.005519, allocations: 44.02 kB / 457.2 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005709, allocations: 190.2 kB / 457.4 MB, free: 29.99 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005726, allocations: 25.44 kB / 457.4 MB, free: 29.97 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.005773, allocations: 26.48 kB / 457.4 MB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.006036, allocations: 206.6 kB / 457.6 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006045, allocations: 3.938 kB / 457.7 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.006066, allocations: 6.875 kB / 457.7 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.006076, allocations: 5.719 kB / 457.7 MB, free: 29.89 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.006268, allocations: 139.2 kB / 457.8 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.006584, allocations: 249.4 kB / 458 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.007526, allocations: 0.506 MB / 458.6 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.007674, allocations: 114 kB / 458.7 MB, free: 29.49 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.007828, allocations: 20.67 kB / 458.7 MB, free: 29.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.007856, allocations: 40.92 kB / 458.7 MB, free: 29.44 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 3.005e-06/0.007859, allocations: 0 / 458.7 MB, free: 29.44 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0006145/0.008473, allocations: 448.8 kB / 459.2 MB, free: 29.3 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.008501, allocations: 60.16 kB / 459.2 MB, free: 29.24 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.008585, allocations: 202.1 kB / 459.4 MB, free: 29.07 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.008604, allocations: 40.48 kB / 459.5 MB, free: 29.02 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.008635, allocations: 142.2 kB / 459.6 MB, free: 28.88 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.008736, allocations: 222.7 kB / 459.8 MB, free: 28.71 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.008834, allocations: 113.1 kB / 459.9 MB, free: 28.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.008897, allocations: 0.5236 MB / 460.4 MB, free: 28.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.009041, allocations: 97.41 kB / 460.5 MB, free: 28.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.009181, allocations: 116.7 kB / 460.7 MB, free: 28.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.009487, allocations: 277 kB / 460.9 MB, free: 28 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.00949, allocations: 2.875 kB / 460.9 MB, free: 28 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004317/0.009922, allocations: 413.5 kB / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.009946, allocations: 9.625 kB / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.009953, allocations: 0 / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.00997, allocations: 2.875 kB / 461.3 MB, free: 27.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.01026, allocations: 143.9 kB / 461.5 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01027, allocations: 2.938 kB / 461.5 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.01036, allocations: 37.23 kB / 461.5 MB, free: 27.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.01039, allocations: 21.7 kB / 461.5 MB, free: 27.82 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 (74): * Single equations (assignments): 74 * 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 8.612e-05/0.01047, allocations: 185.7 kB / 461.7 MB, free: 27.63 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.01052, allocations: 42.02 kB / 461.8 MB, free: 27.61 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.01112, allocations: 0.5163 MB / 462.3 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01113, allocations: 8.656 kB / 462.3 MB, free: 27.42 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01113, allocations: 4 kB / 462.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01114, allocations: 7.172 kB / 462.3 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01137, allocations: 303.3 kB / 462.6 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01137, allocations: 0 / 462.6 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.01177, allocations: 163.2 kB / 462.8 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.01178, allocations: 0 / 462.8 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.01182, allocations: 22.48 kB / 462.8 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01182, allocations: 3.031 kB / 462.8 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01182, allocations: 0 / 462.8 MB, free: 27.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/0.01254, allocations: 0.6667 MB / 463.5 MB, free: 26.9 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.01268, allocations: 95.27 kB / 463.5 MB, free: 26.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.01272, allocations: 20.06 kB / 463.6 MB, free: 26.85 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.01281, allocations: 10.81 kB / 463.6 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.01288, allocations: 46.5 kB / 463.6 MB, free: 26.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.0129, allocations: 25.28 kB / 463.6 MB, free: 26.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.01295, allocations: 147.5 kB / 463.8 MB, free: 26.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01295, allocations: 0 / 463.8 MB, free: 26.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002819/0.01323, allocations: 126.1 kB / 463.9 MB, free: 26.69 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001905/0.01342, allocations: 140.5 kB / 464 MB, free: 26.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.01387, allocations: 362 kB / 464.4 MB, free: 26.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01387, allocations: 0 / 464.4 MB, free: 26.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.01407, allocations: 235 kB / 464.6 MB, free: 26.45 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01433, allocations: 57.98 kB / 464.7 MB, free: 26.42 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.01585, allocations: 1.087 MB / 465.8 MB, free: 25.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.01593, allocations: 126.2 kB / 465.9 MB, free: 25.66 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.01619, allocations: 146.9 kB / 466 MB, free: 25.63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01631, allocations: 49.83 kB / 466.1 MB, free: 25.62 MB / 410.8 MB Notification: Performance of SimCode: time 1.743e-06/0.01631, allocations: 0 / 466.1 MB, free: 25.62 MB / 410.8 MB Notification: Performance of Templates: time 0.00685/0.02316, allocations: 5.362 MB / 471.5 MB, free: 25.02 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_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: 5.7336552031338215]