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.00147/0.00147, allocations: 75.73 kB / 21.24 MB, free: 388 kB / 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.001581/0.001581, allocations: 165.8 kB / 24.49 MB, free: 3.445 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.302/1.302, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 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.8286/0.8286, allocations: 88.08 MB / 349.3 MB, free: 1.398 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_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.001956/0.001956, allocations: 60 kB / 0.5256 GB, free: 7.211 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1488, allocations: 85.85 MB / 0.6094 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002358/0.1512, allocations: 1.379 MB / 0.6107 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.1521, allocations: 0.5184 MB / 0.6113 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.1521, allocations: 0 / 0.6113 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.095e-05/0.1522, allocations: 15.92 kB / 0.6113 GB, free: 1.355 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1524, allocations: 55.72 kB / 0.6113 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.1526, allocations: 47.88 kB / 0.6114 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.1531, allocations: 0.5421 MB / 0.6119 GB, free: 0.7109 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.1532, allocations: 4.188 kB / 0.6119 GB, free: 0.707 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1534, allocations: 219.6 kB / 0.6121 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.1538, allocations: 267.5 kB / 0.6124 GB, free: 236 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.1539, allocations: 28 kB / 0.6124 GB, free: 208 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1541, allocations: 55.97 kB / 0.6124 GB, free: 152 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.1543, allocations: 239.4 kB / 0.6127 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1546, allocations: 219.1 kB / 0.6129 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.155, allocations: 442.2 kB / 0.6133 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1551, allocations: 0 / 0.6133 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1551, allocations: 0 / 0.6133 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1551, allocations: 0 / 0.6133 GB, free: 15.27 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.001691/0.1568, allocations: 0.7551 MB / 0.614 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1568, allocations: 8.031 kB / 0.614 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1569, allocations: 44.7 kB / 0.6141 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.1574, allocations: 277.3 kB / 0.6144 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.1574, allocations: 36.94 kB / 0.6144 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.1575, allocations: 59.91 kB / 0.6144 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.1584, allocations: 0.5801 MB / 0.615 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1584, allocations: 0 / 0.615 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.1585, allocations: 24 kB / 0.615 GB, free: 13.43 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1585, allocations: 12 kB / 0.615 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009183/0.1594, allocations: 0.5777 MB / 0.6156 GB, free: 12.84 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.1601, allocations: 492.6 kB / 0.6161 GB, free: 12.33 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.1633, allocations: 1.326 MB / 0.6174 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.1639, allocations: 431.6 kB / 0.6178 GB, free: 10.56 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.1641, allocations: 21 kB / 0.6178 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1641, allocations: 39.56 kB / 0.6178 GB, free: 10.5 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=103): time 2.074e-06/0.1641, allocations: 0 / 0.6178 GB, free: 10.5 MB / 0.5295 GB Notification: Performance of matching and sorting (n=103): time 0.002236/0.1663, allocations: 1.35 MB / 0.6192 GB, free: 9.141 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1664, allocations: 68.34 kB / 0.6192 GB, free: 9.062 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1665, allocations: 179.3 kB / 0.6194 GB, free: 8.879 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.1666, allocations: 45.7 kB / 0.6194 GB, free: 8.828 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.1667, allocations: 110.1 kB / 0.6195 GB, free: 8.715 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.167, allocations: 428.3 kB / 0.62 GB, free: 8.293 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.1672, allocations: 195 kB / 0.6201 GB, free: 8.094 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1674, allocations: 366.8 kB / 0.6205 GB, free: 7.727 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.1681, allocations: 470.3 kB / 0.6209 GB, free: 7.27 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.1689, allocations: 491.5 kB / 0.6214 GB, free: 6.785 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.1704, allocations: 1.044 MB / 0.6224 GB, free: 5.738 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1704, allocations: 4 kB / 0.6224 GB, free: 5.734 MB / 0.5295 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001854/0.1723, allocations: 1.238 MB / 0.6236 GB, free: 4.488 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1723, allocations: 4 kB / 0.6236 GB, free: 4.484 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1723, allocations: 4 kB / 0.6237 GB, free: 4.48 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1723, allocations: 8 kB / 0.6237 GB, free: 4.473 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.1734, allocations: 271.6 kB / 0.6239 GB, free: 4.207 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1734, allocations: 8 kB / 0.6239 GB, free: 4.199 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.1737, allocations: 75.36 kB / 0.624 GB, free: 4.125 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.1738, allocations: 39.98 kB / 0.624 GB, free: 4.086 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.000252/0.174, allocations: 217.4 kB / 0.6242 GB, free: 3.863 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.1741, allocations: 47.72 kB / 0.6243 GB, free: 3.816 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.1764, allocations: 1.392 MB / 0.6256 GB, free: 2.422 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.1764, allocations: 12 kB / 0.6257 GB, free: 2.41 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1764, allocations: 0 / 0.6257 GB, free: 2.41 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.1764, allocations: 11.97 kB / 0.6257 GB, free: 2.398 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.1772, allocations: 0.5943 MB / 0.6263 GB, free: 1.77 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1772, allocations: 4 kB / 0.6263 GB, free: 1.766 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.1786, allocations: 307.6 kB / 0.6265 GB, free: 1.465 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.1786, allocations: 4 kB / 0.6266 GB, free: 1.461 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/0.1787, allocations: 43.97 kB / 0.6266 GB, free: 1.418 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.1787, allocations: 8 kB / 0.6266 GB, free: 1.41 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1787, allocations: 0 / 0.6266 GB, free: 1.41 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.1814, allocations: 1.851 MB / 0.6284 GB, free: 15.53 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.1817, allocations: 183.1 kB / 0.6286 GB, free: 15.35 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/0.1818, allocations: 35.97 kB / 0.6286 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.1821, allocations: 32 kB / 0.6286 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.1823, allocations: 85.14 kB / 0.6287 GB, free: 15.2 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.1823, allocations: 43.98 kB / 0.6288 GB, free: 15.16 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0001055/0.1824, allocations: 123.2 kB / 0.6289 GB, free: 15.04 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7e-08/0.1824, allocations: 0 / 0.6289 GB, free: 15.04 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0004927/0.1829, allocations: 239.9 kB / 0.6291 GB, free: 14.8 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.0002342/0.1832, allocations: 172.7 kB / 0.6293 GB, free: 14.63 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.1848, allocations: 1.085 MB / 0.6303 GB, free: 13.55 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1848, allocations: 0 / 0.6303 GB, free: 13.55 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.1856, allocations: 0.6046 MB / 0.6309 GB, free: 12.94 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1861, allocations: 111.9 kB / 0.631 GB, free: 12.83 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.1899, allocations: 2.811 MB / 0.6338 GB, free: 9.988 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1902, allocations: 327.4 kB / 0.6341 GB, free: 9.645 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0007128/0.1909, allocations: 364.8 kB / 0.6344 GB, free: 9.285 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.1912, allocations: 92.47 kB / 0.6345 GB, free: 9.195 MB / 0.5452 GB Notification: Performance of SimCode: time 4.31e-07/0.1912, allocations: 0 / 0.6345 GB, free: 9.195 MB / 0.5452 GB Notification: Performance of Templates: time 0.01696/0.2082, allocations: 9.895 MB / 0.6442 GB, free: 15.39 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 -s ida -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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.293575832038186]