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.00147/0.00147, allocations: 78.89 kB / 20.5 MB, free: 1.395 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.001872/0.001872, allocations: 170.1 kB / 23.75 MB, free: 4.707 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.449/1.449, allocations: 177.2 MB / 204.1 MB, free: 9.281 MB / 190.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.1/1.1, allocations: 88.06 MB / 348.6 MB, free: 1.891 MB / 318.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_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.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_noopt_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.002107/0.002107, allocations: 72.39 kB / 0.5248 GB, free: 7.34 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1895, allocations: 85.85 MB / 0.6087 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002909/0.1924, allocations: 1.371 MB / 0.61 GB, free: 2.023 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1934, allocations: 0.5223 MB / 0.6105 GB, free: 1.5 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1935, allocations: 0 / 0.6105 GB, free: 1.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.1935, allocations: 7.922 kB / 0.6105 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1939, allocations: 63.72 kB / 0.6106 GB, free: 1.43 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.194, allocations: 43.83 kB / 0.6106 GB, free: 1.387 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.1946, allocations: 0.546 MB / 0.6111 GB, free: 0.8398 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.1946, allocations: 8.188 kB / 0.6112 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.195, allocations: 267.6 kB / 0.6114 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.1955, allocations: 275.5 kB / 0.6117 GB, free: 308 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.1955, allocations: 31.94 kB / 0.6117 GB, free: 276 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1957, allocations: 51.98 kB / 0.6118 GB, free: 224 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.196, allocations: 231.6 kB / 0.612 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.1963, allocations: 223 kB / 0.6122 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.1968, allocations: 446.2 kB / 0.6126 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1968, allocations: 0 / 0.6126 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1968, allocations: 0 / 0.6126 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.1968, allocations: 0 / 0.6126 GB, free: 15.34 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.001859/0.1987, allocations: 0.7551 MB / 0.6133 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1987, allocations: 8.031 kB / 0.6134 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1988, allocations: 44.7 kB / 0.6134 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.1993, allocations: 273.2 kB / 0.6137 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.1993, allocations: 29 kB / 0.6137 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.1995, allocations: 63.89 kB / 0.6137 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.2004, allocations: 0.588 MB / 0.6143 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2004, allocations: 0 / 0.6143 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.2005, allocations: 23.98 kB / 0.6143 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2005, allocations: 8 kB / 0.6144 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009608/0.2015, allocations: 0.5816 MB / 0.6149 GB, free: 12.91 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.2022, allocations: 496.5 kB / 0.6154 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.2056, allocations: 1.326 MB / 0.6167 GB, free: 11.05 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.2064, allocations: 427.6 kB / 0.6171 GB, free: 10.63 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.2066, allocations: 24.98 kB / 0.6171 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2066, allocations: 39.56 kB / 0.6172 GB, free: 10.56 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=103): time 2.404e-06/0.2066, allocations: 0 / 0.6172 GB, free: 10.56 MB / 0.5295 GB Notification: Performance of matching and sorting (n=103): time 0.002281/0.2089, allocations: 1.35 MB / 0.6185 GB, free: 9.207 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.2089, allocations: 60.41 kB / 0.6185 GB, free: 9.137 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.2091, allocations: 195.2 kB / 0.6187 GB, free: 8.938 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.2092, allocations: 41.7 kB / 0.6188 GB, free: 8.891 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.2092, allocations: 102.1 kB / 0.6189 GB, free: 8.785 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.2096, allocations: 428.4 kB / 0.6193 GB, free: 8.363 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.2099, allocations: 199 kB / 0.6195 GB, free: 8.16 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2101, allocations: 362.8 kB / 0.6198 GB, free: 7.797 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/0.2108, allocations: 474.3 kB / 0.6203 GB, free: 7.336 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007668/0.2116, allocations: 491.5 kB / 0.6207 GB, free: 6.852 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.2132, allocations: 1.048 MB / 0.6217 GB, free: 5.801 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2132, allocations: 0 / 0.6217 GB, free: 5.801 MB / 0.5295 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001975/0.2152, allocations: 1.246 MB / 0.623 GB, free: 4.547 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2152, allocations: 7.281 kB / 0.623 GB, free: 4.543 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2152, allocations: 0 / 0.623 GB, free: 4.543 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2152, allocations: 4 kB / 0.623 GB, free: 4.539 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.2163, allocations: 275.7 kB / 0.6232 GB, free: 4.27 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2163, allocations: 4 kB / 0.6232 GB, free: 4.266 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.2166, allocations: 79.36 kB / 0.6233 GB, free: 4.188 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.2167, allocations: 39.98 kB / 0.6234 GB, free: 4.148 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.0002654/0.217, allocations: 217.4 kB / 0.6236 GB, free: 3.926 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.2171, allocations: 43.72 kB / 0.6236 GB, free: 3.883 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.2195, allocations: 1.388 MB / 0.625 GB, free: 2.492 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.2195, allocations: 16 kB / 0.625 GB, free: 2.477 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2195, allocations: 4 kB / 0.625 GB, free: 2.473 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.2195, allocations: 7.969 kB / 0.625 GB, free: 2.465 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008547/0.2204, allocations: 0.5943 MB / 0.6256 GB, free: 1.836 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2204, allocations: 0 / 0.6256 GB, free: 1.836 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.2218, allocations: 307.6 kB / 0.6259 GB, free: 1.535 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.2218, allocations: 4 kB / 0.6259 GB, free: 1.531 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.2219, allocations: 47.95 kB / 0.6259 GB, free: 1.484 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.2219, allocations: 4 kB / 0.6259 GB, free: 1.48 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2219, allocations: 0 / 0.6259 GB, free: 1.48 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.2248, allocations: 1.855 MB / 0.6277 GB, free: 15.6 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.2251, allocations: 183.1 kB / 0.6279 GB, free: 15.42 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.2253, allocations: 43.97 kB / 0.6279 GB, free: 15.38 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.2256, allocations: 20 kB / 0.628 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.2257, allocations: 93.08 kB / 0.628 GB, free: 15.27 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.2258, allocations: 43.98 kB / 0.6281 GB, free: 15.22 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0001077/0.2259, allocations: 123.2 kB / 0.6282 GB, free: 15.1 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7e-08/0.2259, allocations: 0 / 0.6282 GB, free: 15.1 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005698/0.2265, allocations: 239.9 kB / 0.6284 GB, free: 14.87 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.0002597/0.2267, allocations: 156.8 kB / 0.6286 GB, free: 14.71 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.2286, allocations: 1.088 MB / 0.6296 GB, free: 13.62 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2286, allocations: 3.938 kB / 0.6297 GB, free: 13.62 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.2295, allocations: 0.6007 MB / 0.6302 GB, free: 13.02 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.23, allocations: 115.9 kB / 0.6304 GB, free: 12.9 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.2342, allocations: 2.811 MB / 0.6331 GB, free: 10.06 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2345, allocations: 327.4 kB / 0.6334 GB, free: 9.715 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0008255/0.2353, allocations: 368.8 kB / 0.6338 GB, free: 9.352 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.2356, allocations: 96.41 kB / 0.6339 GB, free: 9.258 MB / 0.5452 GB Notification: Performance of SimCode: time 1.022e-06/0.2356, allocations: 4 kB / 0.6339 GB, free: 9.254 MB / 0.5452 GB Notification: Performance of Templates: time 0.01872/0.2543, allocations: 9.897 MB / 0.6435 GB, free: 15.45 MB / 0.5608 GB " [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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.96073497645557]