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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 112.9 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 181.4 kB / 23.71 MB, free: 4.699 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.173/1.173, allocations: 120.6 MB / 428.3 MB, free: 5.516 MB / 334.1 MB
"
[Timeout remaining time 179]
Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.6005 GB, free: 15.15 MB / 446.3 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 84.69 MB / 0.6832 GB, free: 10.25 MB / 0.5139 GB
Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002486/0.1804, allocations: 1.39 MB / 0.6846 GB, free: 8.844 MB / 0.5139 GB
Notification: Performance of NFInst.instExpressions: time 0.0009294/0.1813, allocations: 0.5263 MB / 0.6851 GB, free: 8.316 MB / 0.5139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.1814, allocations: 0 / 0.6851 GB, free: 8.316 MB / 0.5139 GB
Notification: Performance of NFTyping.typeComponents: time 9.208e-05/0.1814, allocations: 11.86 kB / 0.6851 GB, free: 8.305 MB / 0.5139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1818, allocations: 59.78 kB / 0.6852 GB, free: 8.246 MB / 0.5139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.1819, allocations: 39.83 kB / 0.6852 GB, free: 8.207 MB / 0.5139 GB
Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1821, allocations: 195.5 kB / 0.6854 GB, free: 8.016 MB / 0.5139 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.1822, allocations: 4.188 kB / 0.6854 GB, free: 8.012 MB / 0.5139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1823, allocations: 87.8 kB / 0.6855 GB, free: 7.926 MB / 0.5139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1825, allocations: 99.69 kB / 0.6856 GB, free: 7.828 MB / 0.5139 GB
Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.1825, allocations: 8 kB / 0.6856 GB, free: 7.82 MB / 0.5139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1826, allocations: 31.97 kB / 0.6856 GB, free: 7.789 MB / 0.5139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1828, allocations: 63.84 kB / 0.6857 GB, free: 7.727 MB / 0.5139 GB
Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.1828, allocations: 67.66 kB / 0.6857 GB, free: 7.66 MB / 0.5139 GB
Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1831, allocations: 147.4 kB / 0.6859 GB, free: 7.516 MB / 0.5139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1831, allocations: 0 / 0.6859 GB, free: 7.516 MB / 0.5139 GB
Notification: Performance of FrontEnd: time 1.112e-06/0.1831, allocations: 0 / 0.6859 GB, free: 7.516 MB / 0.5139 GB
Notification: Performance of Transformations before backend: time 5.04e-06/0.1831, allocations: 0 / 0.6859 GB, free: 7.516 MB / 0.5139 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.0008328/0.1839, allocations: 409.8 kB / 0.6863 GB, free: 7.082 MB / 0.5139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1839, allocations: 8.031 kB / 0.6863 GB, free: 7.074 MB / 0.5139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.184, allocations: 16.84 kB / 0.6863 GB, free: 7.059 MB / 0.5139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1842, allocations: 168.7 kB / 0.6864 GB, free: 6.871 MB / 0.5139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1843, allocations: 8.234 kB / 0.6864 GB, free: 6.863 MB / 0.5139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1843, allocations: 12 kB / 0.6865 GB, free: 6.852 MB / 0.5139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.1846, allocations: 175.4 kB / 0.6866 GB, free: 6.676 MB / 0.5139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1846, allocations: 0 / 0.6866 GB, free: 6.676 MB / 0.5139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1847, allocations: 8 kB / 0.6866 GB, free: 6.668 MB / 0.5139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1847, allocations: 4 kB / 0.6866 GB, free: 6.664 MB / 0.5139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1849, allocations: 148.6 kB / 0.6868 GB, free: 6.52 MB / 0.5139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1853, allocations: 261.3 kB / 0.687 GB, free: 6.223 MB / 0.5139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1863, allocations: 342.8 kB / 0.6874 GB, free: 5.879 MB / 0.5139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1865, allocations: 116.8 kB / 0.6875 GB, free: 5.762 MB / 0.5139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.1866, allocations: 19.97 kB / 0.6875 GB, free: 5.742 MB / 0.5139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1867, allocations: 34.56 kB / 0.6875 GB, free: 5.699 MB / 0.5139 GB
Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.1867, allocations: 0 / 0.6875 GB, free: 5.699 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=28): time 0.0006805/0.1873, allocations: 378 kB / 0.6879 GB, free: 5.324 MB / 0.5139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1874, allocations: 55.41 kB / 0.6879 GB, free: 5.258 MB / 0.5139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1875, allocations: 133.8 kB / 0.6881 GB, free: 5.117 MB / 0.5139 GB
Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1875, allocations: 33.7 kB / 0.6881 GB, free: 5.078 MB / 0.5139 GB
Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.1876, allocations: 88.64 kB / 0.6882 GB, free: 4.988 MB / 0.5139 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1877, allocations: 111.1 kB / 0.6883 GB, free: 4.879 MB / 0.5139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1878, allocations: 58.03 kB / 0.6883 GB, free: 4.812 MB / 0.5139 GB
Notification: Performance of setup shared object (initialization): time 0.0001583/0.188, allocations: 342.7 kB / 0.6887 GB, free: 4.469 MB / 0.5139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1882, allocations: 124.6 kB / 0.6888 GB, free: 4.348 MB / 0.5139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1884, allocations: 117.2 kB / 0.6889 GB, free: 4.234 MB / 0.5139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.1888, allocations: 286.9 kB / 0.6892 GB, free: 3.953 MB / 0.5139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1888, allocations: 4 kB / 0.6892 GB, free: 3.949 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005578/0.1894, allocations: 353.2 kB / 0.6895 GB, free: 3.598 MB / 0.5139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1894, allocations: 8 kB / 0.6895 GB, free: 3.59 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1894, allocations: 0 / 0.6895 GB, free: 3.59 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1894, allocations: 0 / 0.6895 GB, free: 3.59 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.1897, allocations: 75.91 kB / 0.6896 GB, free: 3.516 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1897, allocations: 0 / 0.6896 GB, free: 3.516 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1899, allocations: 23.83 kB / 0.6896 GB, free: 3.492 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.1899, allocations: 8 kB / 0.6896 GB, free: 3.484 MB / 0.5139 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.0001407/0.19, allocations: 145.7 kB / 0.6898 GB, free: 3.332 MB / 0.5139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1901, allocations: 15.91 kB / 0.6898 GB, free: 3.316 MB / 0.5139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/0.1908, allocations: 403.1 kB / 0.6902 GB, free: 2.91 MB / 0.5139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1908, allocations: 4 kB / 0.6902 GB, free: 2.906 MB / 0.5139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1908, allocations: 0 / 0.6902 GB, free: 2.906 MB / 0.5139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1908, allocations: 7.984 kB / 0.6902 GB, free: 2.898 MB / 0.5139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1911, allocations: 280.4 kB / 0.6904 GB, free: 2.582 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1911, allocations: 0 / 0.6904 GB, free: 2.582 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.1915, allocations: 87.89 kB / 0.6905 GB, free: 2.496 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1915, allocations: 0 / 0.6905 GB, free: 2.496 MB / 0.5139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1916, allocations: 15.98 kB / 0.6905 GB, free: 2.48 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1916, allocations: 0 / 0.6905 GB, free: 2.48 MB / 0.5139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1916, allocations: 0 / 0.6905 GB, free: 2.48 MB / 0.5139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.1924, allocations: 0.5379 MB / 0.6911 GB, free: 1.922 MB / 0.5139 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1925, allocations: 55.73 kB / 0.6911 GB, free: 1.867 MB / 0.5139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.1926, allocations: 8 kB / 0.6911 GB, free: 1.859 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1927, allocations: 8 kB / 0.6911 GB, free: 1.852 MB / 0.5139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1927, allocations: 19.95 kB / 0.6912 GB, free: 1.832 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1928, allocations: 15.98 kB / 0.6912 GB, free: 1.816 MB / 0.5139 GB
Notification: Performance of sorting global known variables: time 6.767e-05/0.1928, allocations: 101.1 kB / 0.6913 GB, free: 1.719 MB / 0.5139 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.1928, allocations: 112 / 0.6913 GB, free: 1.719 MB / 0.5139 GB
Notification: Performance of remove unused functions: time 0.0002695/0.1931, allocations: 71.94 kB / 0.6913 GB, free: 1.648 MB / 0.5139 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.0001753/0.1933, allocations: 119.1 kB / 0.6914 GB, free: 1.523 MB / 0.5139 GB
Notification: Performance of simCode: created initialization part: time 0.0005165/0.1938, allocations: 291.6 kB / 0.6917 GB, free: 1.238 MB / 0.5139 GB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1938, allocations: 0 / 0.6917 GB, free: 1.238 MB / 0.5139 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.194, allocations: 160.8 kB / 0.6919 GB, free: 1.082 MB / 0.5139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1944, allocations: 35.97 kB / 0.6919 GB, free: 1.047 MB / 0.5139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1958, allocations: 0.8633 MB / 0.6928 GB, free: 164 kB / 0.5139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1962, allocations: 0.7487 MB / 0.6935 GB, free: 15.38 MB / 0.5295 GB
Notification: Performance of simCode: alias equations: time 0.0002082/0.1964, allocations: 93.84 kB / 0.6936 GB, free: 15.28 MB / 0.5295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.1965, allocations: 27.44 kB / 0.6936 GB, free: 15.25 MB / 0.5295 GB
Notification: Performance of SimCode: time 3.31e-07/0.1965, allocations: 0 / 0.6936 GB, free: 15.25 MB / 0.5295 GB
Notification: Performance of Templates: time 0.007098/0.2036, allocations: 3.263 MB / 0.6968 GB, free: 12.03 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/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.609311470761895]