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.001284/0.001284, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001465/0.001465, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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 1.042/1.042, allocations: 120.6 MB / 435.3 MB, free: 0.8281 MB / 334.1 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.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",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.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 0.6096 GB, free: 8.832 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1743, allocations: 85.87 MB / 0.6934 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002679/0.1769, allocations: 1.411 MB / 0.6948 GB, free: 1.332 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.178, allocations: 0.5652 MB / 0.6953 GB, free: 0.7656 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.178, allocations: 0 / 0.6953 GB, free: 0.7656 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.071e-05/0.1781, allocations: 7.922 kB / 0.6954 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1784, allocations: 63.73 kB / 0.6954 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.1786, allocations: 51.75 kB / 0.6955 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.000551/0.1791, allocations: 0.5421 MB / 0.696 GB, free: 104 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1792, allocations: 8.172 kB / 0.696 GB, free: 96 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.1795, allocations: 211.7 kB / 0.6962 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.1799, allocations: 283.4 kB / 0.6965 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.18, allocations: 28 kB / 0.6965 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1802, allocations: 51.98 kB / 0.6966 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.1804, allocations: 243.4 kB / 0.6968 GB, free: 15.29 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.1807, allocations: 230.9 kB / 0.697 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.1811, allocations: 454 kB / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1811, allocations: 4 kB / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1811, allocations: 0 / 0.6974 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1811, allocations: 0 / 0.6974 GB, free: 14.62 MB / 0.5295 GB 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.00178/0.1829, allocations: 0.7512 MB / 0.6982 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.183, allocations: 8.031 kB / 0.6982 GB, free: 13.83 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1831, allocations: 48.7 kB / 0.6982 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.1836, allocations: 273.3 kB / 0.6985 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.1836, allocations: 29 kB / 0.6985 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1837, allocations: 67.89 kB / 0.6986 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.1847, allocations: 0.5762 MB / 0.6991 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1847, allocations: 3.984 kB / 0.6991 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.1847, allocations: 20 kB / 0.6992 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1847, allocations: 12 kB / 0.6992 GB, free: 12.78 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.1857, allocations: 0.5816 MB / 0.6997 GB, free: 12.2 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.1865, allocations: 0.5933 MB / 0.7003 GB, free: 11.56 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.1898, allocations: 1.329 MB / 0.7016 GB, free: 10.22 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.1905, allocations: 431.6 kB / 0.702 GB, free: 9.797 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.1907, allocations: 24.95 kB / 0.7021 GB, free: 9.77 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1907, allocations: 43.56 kB / 0.7021 GB, free: 9.719 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=103): time 2.866e-06/0.1907, allocations: 0 / 0.7021 GB, free: 9.719 MB / 0.5295 GB Notification: Performance of matching and sorting (n=103): time 0.002311/0.193, allocations: 1.35 MB / 0.7034 GB, free: 8.367 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.1931, allocations: 68.34 kB / 0.7035 GB, free: 8.289 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1933, allocations: 183.3 kB / 0.7037 GB, free: 8.102 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.1933, allocations: 45.7 kB / 0.7037 GB, free: 8.051 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.1934, allocations: 106.1 kB / 0.7038 GB, free: 7.941 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.1937, allocations: 424.4 kB / 0.7042 GB, free: 7.523 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.194, allocations: 199 kB / 0.7044 GB, free: 7.32 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1942, allocations: 366.7 kB / 0.7047 GB, free: 6.953 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.1949, allocations: 470.3 kB / 0.7052 GB, free: 6.496 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.1957, allocations: 495.5 kB / 0.7057 GB, free: 6.008 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.1973, allocations: 1.036 MB / 0.7067 GB, free: 4.969 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1973, allocations: 4 kB / 0.7067 GB, free: 4.965 MB / 0.5295 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001918/0.1992, allocations: 1.246 MB / 0.7079 GB, free: 3.711 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1992, allocations: 4 kB / 0.7079 GB, free: 3.707 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1992, allocations: 0 / 0.7079 GB, free: 3.707 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1992, allocations: 8 kB / 0.7079 GB, free: 3.699 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2003, allocations: 263.7 kB / 0.7082 GB, free: 3.441 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.2003, allocations: 8 kB / 0.7082 GB, free: 3.434 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.2007, allocations: 83.34 kB / 0.7083 GB, free: 3.352 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.2008, allocations: 39.98 kB / 0.7083 GB, free: 3.312 MB / 0.5295 GB 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.0003/0.2011, allocations: 221.4 kB / 0.7085 GB, free: 3.086 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.2012, allocations: 47.66 kB / 0.7085 GB, free: 3.039 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.2035, allocations: 1.385 MB / 0.7099 GB, free: 1.652 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.2035, allocations: 16 kB / 0.7099 GB, free: 1.637 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2035, allocations: 0 / 0.7099 GB, free: 1.637 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.2036, allocations: 3.984 kB / 0.7099 GB, free: 1.633 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.2045, allocations: 0.7222 MB / 0.7106 GB, free: 0.8672 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2045, allocations: 0 / 0.7106 GB, free: 0.8672 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.2059, allocations: 307.6 kB / 0.7109 GB, free: 0.5664 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.2059, allocations: 4 kB / 0.7109 GB, free: 0.5625 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-05/0.206, allocations: 51.95 kB / 0.711 GB, free: 0.5117 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.206, allocations: 12 kB / 0.711 GB, free: 0.5 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.206, allocations: 0 / 0.711 GB, free: 0.5 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.2088, allocations: 1.851 MB / 0.7128 GB, free: 14.63 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.2092, allocations: 179.1 kB / 0.713 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2093, allocations: 35.98 kB / 0.713 GB, free: 14.42 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.2096, allocations: 27.94 kB / 0.713 GB, free: 14.39 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2098, allocations: 97.06 kB / 0.7131 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.2098, allocations: 39.98 kB / 0.7132 GB, free: 14.25 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0001131/0.21, allocations: 132.3 kB / 0.7133 GB, free: 14.12 MB / 0.5452 GB Notification: Performance of sort global known variables: time 8e-08/0.21, allocations: 0 / 0.7133 GB, free: 14.12 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005438/0.2105, allocations: 235.9 kB / 0.7135 GB, free: 13.89 MB / 0.5452 GB 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.0002646/0.2108, allocations: 159.7 kB / 0.7137 GB, free: 13.73 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.2125, allocations: 1.092 MB / 0.7147 GB, free: 12.64 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2125, allocations: 0 / 0.7147 GB, free: 12.64 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0008832/0.2134, allocations: 0.6007 MB / 0.7153 GB, free: 12.04 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.2139, allocations: 107.9 kB / 0.7154 GB, free: 11.93 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.2181, allocations: 2.885 MB / 0.7182 GB, free: 9.004 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.2186, allocations: 0.9242 MB / 0.7191 GB, free: 8.055 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.219, allocations: 95.41 kB / 0.7192 GB, free: 7.961 MB / 0.5452 GB Notification: Performance of SimCode: time 7.51e-07/0.219, allocations: 0 / 0.7192 GB, free: 7.961 MB / 0.5452 GB Notification: Performance of Templates: time 0.01519/0.2342, allocations: 9.62 MB / 0.7286 GB, free: 14.36 MB / 0.5608 GB " [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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 16.393185873050243]