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.001359/0.001359, allocations: 85.08 kB / 20.5 MB, free: 1.387 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.001763/0.001763, allocations: 164.7 kB / 23.74 MB, free: 4.594 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.445/1.445, allocations: 177.2 MB / 204.1 MB, free: 9.266 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.031/1.031, allocations: 88.07 MB / 348.6 MB, free: 1.898 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",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.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [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.00206/0.00206, allocations: 76.14 kB / 0.5248 GB, free: 7.316 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1675, allocations: 85.85 MB / 0.6087 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002648/0.1701, allocations: 1.367 MB / 0.61 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1713, allocations: 0.5184 MB / 0.6105 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.1714, allocations: 4 kB / 0.6105 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1715, allocations: 7.922 kB / 0.6105 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.1719, allocations: 63.72 kB / 0.6106 GB, free: 1.418 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1721, allocations: 47.81 kB / 0.6106 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.1725, allocations: 311.4 kB / 0.6109 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.1725, allocations: 4.188 kB / 0.6109 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.1729, allocations: 159.7 kB / 0.6111 GB, free: 0.9062 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.1732, allocations: 159.6 kB / 0.6112 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.1733, allocations: 12 kB / 0.6112 GB, free: 0.7383 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1734, allocations: 43.97 kB / 0.6113 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1736, allocations: 127.7 kB / 0.6114 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.1737, allocations: 115.5 kB / 0.6115 GB, free: 468 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1741, allocations: 246.9 kB / 0.6117 GB, free: 220 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1741, allocations: 0 / 0.6117 GB, free: 220 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1741, allocations: 0 / 0.6117 GB, free: 220 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.1741, allocations: 0 / 0.6117 GB, free: 220 kB / 0.5139 GB 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.001231/0.1753, allocations: 0.5172 MB / 0.6122 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1753, allocations: 12.02 kB / 0.6123 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.1754, allocations: 24.8 kB / 0.6123 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1757, allocations: 193.9 kB / 0.6125 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1758, allocations: 16.5 kB / 0.6125 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.1758, allocations: 27.95 kB / 0.6125 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.1764, allocations: 323.9 kB / 0.6128 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1764, allocations: 0 / 0.6128 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.1764, allocations: 8 kB / 0.6128 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1764, allocations: 4 kB / 0.6128 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.1769, allocations: 289.8 kB / 0.6131 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1774, allocations: 311.4 kB / 0.6134 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1792, allocations: 0.6465 MB / 0.614 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.1795, allocations: 222.2 kB / 0.6142 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.1797, allocations: 12.48 kB / 0.6143 GB, free: 13.54 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1797, allocations: 39.06 kB / 0.6143 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=53): time 1.944e-06/0.1797, allocations: 4 kB / 0.6143 GB, free: 13.48 MB / 0.5295 GB Notification: Performance of matching and sorting (n=53): time 0.00125/0.181, allocations: 0.7094 MB / 0.615 GB, free: 12.77 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.181, allocations: 55.91 kB / 0.615 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1812, allocations: 153.5 kB / 0.6152 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.1812, allocations: 33.7 kB / 0.6152 GB, free: 12.5 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.1813, allocations: 101.1 kB / 0.6153 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.1815, allocations: 222.1 kB / 0.6155 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.1817, allocations: 106.3 kB / 0.6156 GB, free: 12.06 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.1818, allocations: 342.8 kB / 0.616 GB, free: 11.72 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.1822, allocations: 237.1 kB / 0.6162 GB, free: 11.49 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.1826, allocations: 245.7 kB / 0.6164 GB, free: 11.25 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.1834, allocations: 0.5323 MB / 0.6169 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1834, allocations: 4 kB / 0.6169 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001077/0.1845, allocations: 0.6493 MB / 0.6176 GB, free: 10.05 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1845, allocations: 4 kB / 0.6176 GB, free: 10.05 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1845, allocations: 3.984 kB / 0.6176 GB, free: 10.05 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1846, allocations: 4 kB / 0.6176 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.1852, allocations: 139.8 kB / 0.6177 GB, free: 9.906 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1852, allocations: 3.938 kB / 0.6177 GB, free: 9.902 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1854, allocations: 35.73 kB / 0.6178 GB, free: 9.867 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.1854, allocations: 20 kB / 0.6178 GB, free: 9.848 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 (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 0.0001977/0.1856, allocations: 169.7 kB / 0.6179 GB, free: 9.672 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1857, allocations: 27.8 kB / 0.618 GB, free: 9.645 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.187, allocations: 0.7243 MB / 0.6187 GB, free: 8.91 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.187, allocations: 8 kB / 0.6187 GB, free: 8.902 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.187, allocations: 3.938 kB / 0.6187 GB, free: 8.898 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1871, allocations: 3.984 kB / 0.6187 GB, free: 8.895 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.1876, allocations: 357.4 kB / 0.619 GB, free: 8.516 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1876, allocations: 0 / 0.619 GB, free: 8.516 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.1884, allocations: 159.8 kB / 0.6192 GB, free: 8.359 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.1884, allocations: 4 kB / 0.6192 GB, free: 8.355 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.1884, allocations: 19.98 kB / 0.6192 GB, free: 8.336 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1884, allocations: 8 kB / 0.6192 GB, free: 8.328 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1884, allocations: 0 / 0.6192 GB, free: 8.328 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.19, allocations: 0.9709 MB / 0.6202 GB, free: 7.336 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.1902, allocations: 99.58 kB / 0.6203 GB, free: 7.238 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.1903, allocations: 24.11 kB / 0.6203 GB, free: 7.215 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.1905, allocations: 8 kB / 0.6203 GB, free: 7.207 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.1905, allocations: 48.58 kB / 0.6203 GB, free: 7.16 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.1906, allocations: 19.98 kB / 0.6203 GB, free: 7.141 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.1907, allocations: 115.2 kB / 0.6205 GB, free: 7.027 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1907, allocations: 0 / 0.6205 GB, free: 7.027 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0004077/0.1911, allocations: 127.9 kB / 0.6206 GB, free: 6.902 MB / 0.5295 GB 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.0002274/0.1913, allocations: 135 kB / 0.6207 GB, free: 6.762 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0009453/0.1923, allocations: 0.552 MB / 0.6212 GB, free: 6.211 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1923, allocations: 4 kB / 0.6213 GB, free: 6.207 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.1927, allocations: 311.6 kB / 0.6215 GB, free: 5.902 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1931, allocations: 59.22 kB / 0.6216 GB, free: 5.848 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.1955, allocations: 1.504 MB / 0.6231 GB, free: 4.316 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1957, allocations: 196.6 kB / 0.6233 GB, free: 4.102 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.1962, allocations: 183.1 kB / 0.6234 GB, free: 3.922 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.1963, allocations: 52.48 kB / 0.6235 GB, free: 3.871 MB / 0.5295 GB Notification: Performance of SimCode: time 6.92e-07/0.1963, allocations: 0 / 0.6235 GB, free: 3.871 MB / 0.5295 GB Notification: Performance of Templates: time 0.01137/0.2077, allocations: 5.332 MB / 0.6287 GB, free: 14.61 MB / 0.5452 GB " [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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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: 7.8644942454993725]