Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.001251/0.001251, allocations: 107.9 kB / 20.44 MB, free: 1.188 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.001355/0.001355, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.04/1.04, allocations: 120.6 MB / 434.5 MB, free: 0.6562 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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [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.002235/0.002235, allocations: 63.89 kB / 0.6087 GB, free: 8.672 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1708, allocations: 85.88 MB / 0.6926 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002898/0.1737, allocations: 1.376 MB / 0.6939 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1748, allocations: 0.5185 MB / 0.6945 GB, free: 0.6797 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.1749, allocations: 0 / 0.6945 GB, free: 0.6797 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.594e-05/0.175, allocations: 7.922 kB / 0.6945 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.1753, allocations: 59.73 kB / 0.6945 GB, free: 0.6133 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1754, allocations: 47.81 kB / 0.6946 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1757, allocations: 187.6 kB / 0.6947 GB, free: 392 kB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.1757, allocations: 4.188 kB / 0.6947 GB, free: 388 kB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.176, allocations: 83.75 kB / 0.6948 GB, free: 304 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1762, allocations: 107.7 kB / 0.6949 GB, free: 196 kB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1762, allocations: 8 kB / 0.6949 GB, free: 188 kB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1764, allocations: 31.97 kB / 0.695 GB, free: 156 kB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1765, allocations: 67.84 kB / 0.695 GB, free: 88 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.1766, allocations: 59.72 kB / 0.6951 GB, free: 28 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1768, allocations: 151.4 kB / 0.6952 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1768, allocations: 0 / 0.6952 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1768, allocations: 0 / 0.6952 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1768, allocations: 4 kB / 0.6952 GB, free: 15.88 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008285/0.1777, allocations: 393.9 kB / 0.6956 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1777, allocations: 12.03 kB / 0.6956 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.1778, allocations: 24.83 kB / 0.6956 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.178, allocations: 162 kB / 0.6958 GB, free: 15.24 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.178, allocations: 8.234 kB / 0.6958 GB, free: 15.23 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.1781, allocations: 15.95 kB / 0.6958 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.1784, allocations: 179.4 kB / 0.696 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1784, allocations: 3.938 kB / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1784, allocations: 4 kB / 0.696 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1784, allocations: 4 kB / 0.696 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.1787, allocations: 144.5 kB / 0.6961 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.179, allocations: 202.1 kB / 0.6963 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.1799, allocations: 354.7 kB / 0.6967 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1801, allocations: 116.8 kB / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.1803, allocations: 8 kB / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.1803, allocations: 42.55 kB / 0.6968 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.1803, allocations: 0 / 0.6968 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006646/0.181, allocations: 374.8 kB / 0.6972 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.181, allocations: 51.41 kB / 0.6972 GB, free: 13.69 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1812, allocations: 133 kB / 0.6974 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1812, allocations: 33.64 kB / 0.6974 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1812, allocations: 100.6 kB / 0.6975 GB, free: 13.41 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1814, allocations: 111.1 kB / 0.6976 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1815, allocations: 66.02 kB / 0.6977 GB, free: 13.23 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1816, allocations: 326.8 kB / 0.698 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1818, allocations: 120.6 kB / 0.6981 GB, free: 12.79 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.182, allocations: 129.2 kB / 0.6982 GB, free: 12.66 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.1825, allocations: 282.2 kB / 0.6985 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1825, allocations: 0 / 0.6985 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005553/0.183, allocations: 357.9 kB / 0.6988 GB, free: 12.03 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1831, allocations: 4 kB / 0.6988 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1831, allocations: 4 kB / 0.6988 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1831, allocations: 4 kB / 0.6988 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1834, allocations: 71.91 kB / 0.6989 GB, free: 11.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1834, allocations: 4 kB / 0.6989 GB, free: 11.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1835, allocations: 23.77 kB / 0.6989 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.1835, allocations: 15.98 kB / 0.6989 GB, free: 11.9 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 (39): * Single equations (assignments): 39 * 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.0001358/0.1837, allocations: 137.7 kB / 0.6991 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1837, allocations: 15.91 kB / 0.6991 GB, free: 11.74 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007223/0.1844, allocations: 399.2 kB / 0.6995 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1844, allocations: 4 kB / 0.6995 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1844, allocations: 4 kB / 0.6995 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1844, allocations: 4 kB / 0.6995 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1847, allocations: 233 kB / 0.6997 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1847, allocations: 0 / 0.6997 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.1851, allocations: 87.89 kB / 0.6998 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.1851, allocations: 7.938 kB / 0.6998 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1852, allocations: 19.92 kB / 0.6998 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1852, allocations: 0 / 0.6998 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1852, allocations: 0 / 0.6998 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.186, allocations: 0.534 MB / 0.7003 GB, free: 10.41 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1861, allocations: 43.8 kB / 0.7004 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.1862, allocations: 12 kB / 0.7004 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1863, allocations: 4 kB / 0.7004 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1863, allocations: 27.95 kB / 0.7004 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1863, allocations: 11.98 kB / 0.7004 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.109e-05/0.1864, allocations: 105.8 kB / 0.7005 GB, free: 10.21 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 0 / 0.7005 GB, free: 10.21 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002746/0.1867, allocations: 72 kB / 0.7006 GB, free: 10.14 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001785/0.1869, allocations: 123.1 kB / 0.7007 GB, free: 10.01 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.1874, allocations: 287.7 kB / 0.701 GB, free: 9.727 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1874, allocations: 0 / 0.701 GB, free: 9.727 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1876, allocations: 156.8 kB / 0.7011 GB, free: 9.574 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1879, allocations: 31.92 kB / 0.7012 GB, free: 9.543 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1893, allocations: 0.8641 MB / 0.702 GB, free: 8.656 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.1894, allocations: 136.7 kB / 0.7022 GB, free: 8.492 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.1896, allocations: 93.84 kB / 0.7022 GB, free: 8.398 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.1897, allocations: 27.44 kB / 0.7023 GB, free: 8.371 MB / 0.5295 GB Notification: Performance of SimCode: time 3.2e-07/0.1897, allocations: 0 / 0.7023 GB, free: 8.371 MB / 0.5295 GB Notification: Performance of Templates: time 0.007125/0.1968, allocations: 3.231 MB / 0.7054 GB, free: 5.195 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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: 6.290032785851508]