Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001551/0.001551, allocations: 112 kB / 20.43 MB, free: 1.449 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.001742/0.001742, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.325/1.325, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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 0.8955/0.8955, allocations: 120.6 MB / 428.3 MB, free: 5.555 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.88 kB / 0.6005 GB, free: 15.34 MB / 446.3 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1432, allocations: 84.69 MB / 0.6832 GB, free: 10.43 MB / 0.5139 GB
Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002529/0.1457, allocations: 1.397 MB / 0.6846 GB, free: 9.027 MB / 0.5139 GB
Notification: Performance of NFInst.instExpressions: time 0.0008855/0.1466, allocations: 0.5301 MB / 0.6851 GB, free: 8.496 MB / 0.5139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.1467, allocations: 4 kB / 0.6851 GB, free: 8.492 MB / 0.5139 GB
Notification: Performance of NFTyping.typeComponents: time 7.582e-05/0.1467, allocations: 7.922 kB / 0.6851 GB, free: 8.484 MB / 0.5139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.147, allocations: 59.75 kB / 0.6852 GB, free: 8.426 MB / 0.5139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.1472, allocations: 35.88 kB / 0.6852 GB, free: 8.391 MB / 0.5139 GB
Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1474, allocations: 199.4 kB / 0.6854 GB, free: 8.195 MB / 0.5139 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1474, allocations: 8.188 kB / 0.6854 GB, free: 8.188 MB / 0.5139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1476, allocations: 75.81 kB / 0.6855 GB, free: 8.113 MB / 0.5139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1478, allocations: 103.7 kB / 0.6856 GB, free: 8.012 MB / 0.5139 GB
Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1478, allocations: 8 kB / 0.6856 GB, free: 8.004 MB / 0.5139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1479, allocations: 27.98 kB / 0.6856 GB, free: 7.977 MB / 0.5139 GB
Notification: Performance of NFScalarize.scalarize: time 0.000118/0.148, allocations: 67.86 kB / 0.6857 GB, free: 7.91 MB / 0.5139 GB
Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.1481, allocations: 79.56 kB / 0.6857 GB, free: 7.832 MB / 0.5139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1483, allocations: 135.4 kB / 0.6859 GB, free: 7.699 MB / 0.5139 GB
Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1483, allocations: 0 / 0.6859 GB, free: 7.699 MB / 0.5139 GB
Notification: Performance of FrontEnd: time 1.152e-06/0.1483, allocations: 4 kB / 0.6859 GB, free: 7.695 MB / 0.5139 GB
Notification: Performance of Transformations before backend: time 5.67e-06/0.1483, allocations: 0 / 0.6859 GB, free: 7.695 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.000796/0.1491, allocations: 408.4 kB / 0.6863 GB, free: 7.266 MB / 0.5139 GB
Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1491, allocations: 15.91 kB / 0.6863 GB, free: 7.25 MB / 0.5139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.1492, allocations: 16.84 kB / 0.6863 GB, free: 7.234 MB / 0.5139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1494, allocations: 156.7 kB / 0.6864 GB, free: 7.059 MB / 0.5139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1494, allocations: 8.234 kB / 0.6865 GB, free: 7.051 MB / 0.5139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1495, allocations: 16 kB / 0.6865 GB, free: 7.035 MB / 0.5139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1498, allocations: 187.3 kB / 0.6866 GB, free: 6.848 MB / 0.5139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1498, allocations: 0 / 0.6866 GB, free: 6.848 MB / 0.5139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1499, allocations: 4 kB / 0.6866 GB, free: 6.844 MB / 0.5139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1499, allocations: 4 kB / 0.6867 GB, free: 6.84 MB / 0.5139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.1501, allocations: 140.6 kB / 0.6868 GB, free: 6.703 MB / 0.5139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.1504, allocations: 261.3 kB / 0.687 GB, free: 6.406 MB / 0.5139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.1514, allocations: 346.8 kB / 0.6874 GB, free: 6.059 MB / 0.5139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.1516, allocations: 112.8 kB / 0.6875 GB, free: 5.945 MB / 0.5139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.1517, allocations: 8 kB / 0.6875 GB, free: 5.938 MB / 0.5139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1518, allocations: 38.55 kB / 0.6875 GB, free: 5.891 MB / 0.5139 GB
Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.1518, allocations: 0 / 0.6875 GB, free: 5.891 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=28): time 0.0006951/0.1525, allocations: 382 kB / 0.6879 GB, free: 5.512 MB / 0.5139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1525, allocations: 55.41 kB / 0.6879 GB, free: 5.445 MB / 0.5139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1526, allocations: 125.8 kB / 0.6881 GB, free: 5.312 MB / 0.5139 GB
Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1527, allocations: 37.69 kB / 0.6881 GB, free: 5.27 MB / 0.5139 GB
Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1527, allocations: 88.64 kB / 0.6882 GB, free: 5.18 MB / 0.5139 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1528, allocations: 115.1 kB / 0.6883 GB, free: 5.066 MB / 0.5139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.1529, allocations: 62.02 kB / 0.6883 GB, free: 4.996 MB / 0.5139 GB
Notification: Performance of setup shared object (initialization): time 0.0001551/0.1531, allocations: 330.8 kB / 0.6887 GB, free: 4.664 MB / 0.5139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1533, allocations: 124.6 kB / 0.6888 GB, free: 4.543 MB / 0.5139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1535, allocations: 125.2 kB / 0.6889 GB, free: 4.422 MB / 0.5139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.1539, allocations: 282.9 kB / 0.6892 GB, free: 4.145 MB / 0.5139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1539, allocations: 4 kB / 0.6892 GB, free: 4.141 MB / 0.5139 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005455/0.1544, allocations: 361.2 kB / 0.6895 GB, free: 3.781 MB / 0.5139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1545, allocations: 4 kB / 0.6895 GB, free: 3.777 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1545, allocations: 3.938 kB / 0.6895 GB, free: 3.773 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1545, allocations: 4 kB / 0.6895 GB, free: 3.77 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.1548, allocations: 67.91 kB / 0.6896 GB, free: 3.703 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1548, allocations: 7.938 kB / 0.6896 GB, free: 3.695 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1549, allocations: 23.84 kB / 0.6896 GB, free: 3.672 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1549, allocations: 15.98 kB / 0.6896 GB, free: 3.656 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.0001356/0.1551, allocations: 137.7 kB / 0.6898 GB, free: 3.512 MB / 0.5139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1551, allocations: 15.91 kB / 0.6898 GB, free: 3.496 MB / 0.5139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.1558, allocations: 403.2 kB / 0.6902 GB, free: 3.09 MB / 0.5139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1558, allocations: 4 kB / 0.6902 GB, free: 3.086 MB / 0.5139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1558, allocations: 0 / 0.6902 GB, free: 3.086 MB / 0.5139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1558, allocations: 0 / 0.6902 GB, free: 3.086 MB / 0.5139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.1562, allocations: 284.4 kB / 0.6904 GB, free: 2.766 MB / 0.5139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1562, allocations: 7.922 kB / 0.6905 GB, free: 2.758 MB / 0.5139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.1566, allocations: 83.95 kB / 0.6905 GB, free: 2.676 MB / 0.5139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1566, allocations: 3.938 kB / 0.6905 GB, free: 2.672 MB / 0.5139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1566, allocations: 8 kB / 0.6905 GB, free: 2.664 MB / 0.5139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1566, allocations: 4 kB / 0.6905 GB, free: 2.66 MB / 0.5139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1566, allocations: 4 kB / 0.6906 GB, free: 2.656 MB / 0.5139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.1574, allocations: 0.5301 MB / 0.6911 GB, free: 2.105 MB / 0.5139 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1576, allocations: 51.73 kB / 0.6911 GB, free: 2.055 MB / 0.5139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.1576, allocations: 11.98 kB / 0.6911 GB, free: 2.043 MB / 0.5139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1577, allocations: 8 kB / 0.6911 GB, free: 2.035 MB / 0.5139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1578, allocations: 23.95 kB / 0.6912 GB, free: 2.012 MB / 0.5139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1578, allocations: 12 kB / 0.6912 GB, free: 2 MB / 0.5139 GB
Notification: Performance of sorting global known variables: time 7.705e-05/0.1579, allocations: 109.3 kB / 0.6913 GB, free: 1.895 MB / 0.5139 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.1579, allocations: 0 / 0.6913 GB, free: 1.895 MB / 0.5139 GB
Notification: Performance of remove unused functions: time 0.0002669/0.1581, allocations: 68 kB / 0.6913 GB, free: 1.828 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.0001568/0.1583, allocations: 119.2 kB / 0.6915 GB, free: 1.703 MB / 0.5139 GB
Notification: Performance of simCode: created initialization part: time 0.00049/0.1588, allocations: 291.6 kB / 0.6917 GB, free: 1.418 MB / 0.5139 GB
Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1588, allocations: 0 / 0.6917 GB, free: 1.418 MB / 0.5139 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.159, allocations: 160.8 kB / 0.6919 GB, free: 1.262 MB / 0.5139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1593, allocations: 39.98 kB / 0.6919 GB, free: 1.223 MB / 0.5139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1606, allocations: 0.8594 MB / 0.6928 GB, free: 348 kB / 0.5139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.161, allocations: 0.7487 MB / 0.6935 GB, free: 15.55 MB / 0.5295 GB
Notification: Performance of simCode: alias equations: time 0.0001919/0.1612, allocations: 85.86 kB / 0.6936 GB, free: 15.46 MB / 0.5295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.1612, allocations: 35.42 kB / 0.6936 GB, free: 15.43 MB / 0.5295 GB
Notification: Performance of SimCode: time 3.5e-07/0.1613, allocations: 3.938 kB / 0.6936 GB, free: 15.43 MB / 0.5295 GB
Notification: Performance of Templates: time 0.006877/0.1681, allocations: 3.251 MB / 0.6968 GB, free: 12.19 MB / 0.5295 GB
"
[Timeout remaining time 300]
make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile [Timeout 300]
(rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5  -s=ida -abortSlowSimulation -alarm=300  -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 300]
diffSimulationResults("ScalableTestSuite_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_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: 5.946811062283814]