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.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.001463/0.001463, allocations: 75.73 kB / 21.24 MB, free: 400 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.00152/0.00152, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.301/1.301, allocations: 177.2 MB / 204.9 MB, free: 8.93 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.8167/0.8167, allocations: 88.08 MB / 349.3 MB, free: 1.379 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_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: 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.001968/0.001968, allocations: 63.11 kB / 0.5256 GB, free: 7.227 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1359, allocations: 85.85 MB / 0.6094 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002362/0.1383, allocations: 1.367 MB / 0.6107 GB, free: 1.898 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.1392, allocations: 0.5224 MB / 0.6112 GB, free: 1.375 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.1393, allocations: 3.938 kB / 0.6113 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.632e-05/0.1394, allocations: 11.86 kB / 0.6113 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.1396, allocations: 55.8 kB / 0.6113 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.1397, allocations: 47.81 kB / 0.6114 GB, free: 1.258 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.14, allocations: 195.5 kB / 0.6115 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.14, allocations: 4.188 kB / 0.6116 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1402, allocations: 87.75 kB / 0.6116 GB, free: 0.9766 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1404, allocations: 91.8 kB / 0.6117 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1404, allocations: 8 kB / 0.6117 GB, free: 0.8789 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1405, allocations: 31.97 kB / 0.6118 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1406, allocations: 71.78 kB / 0.6118 GB, free: 0.7773 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.1407, allocations: 63.72 kB / 0.6119 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1409, allocations: 147.4 kB / 0.612 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1409, allocations: 0 / 0.612 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1409, allocations: 4 kB / 0.612 GB, free: 0.5664 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1409, allocations: 0 / 0.612 GB, free: 0.5664 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.0007309/0.1416, allocations: 393.9 kB / 0.6124 GB, free: 152 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1417, allocations: 16.02 kB / 0.6124 GB, free: 136 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.1417, allocations: 20.84 kB / 0.6124 GB, free: 116 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1419, allocations: 165.1 kB / 0.6126 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1419, allocations: 8.234 kB / 0.6126 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.142, allocations: 15.95 kB / 0.6126 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1423, allocations: 183.4 kB / 0.6128 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1423, allocations: 0 / 0.6128 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1423, allocations: 7.938 kB / 0.6128 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1423, allocations: 4 kB / 0.6128 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.1426, allocations: 136.6 kB / 0.6129 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1428, allocations: 206.1 kB / 0.6131 GB, free: 15.35 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/0.1438, allocations: 354.8 kB / 0.6135 GB, free: 14.99 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.144, allocations: 112.8 kB / 0.6136 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.1441, allocations: 8 kB / 0.6136 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1441, allocations: 42.55 kB / 0.6136 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.1441, allocations: 0 / 0.6136 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006531/0.1448, allocations: 374 kB / 0.614 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1448, allocations: 55.41 kB / 0.614 GB, free: 14.38 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1449, allocations: 133.8 kB / 0.6142 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1449, allocations: 37.69 kB / 0.6142 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.145, allocations: 92.64 kB / 0.6143 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1451, allocations: 111.1 kB / 0.6144 GB, free: 14 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.1452, allocations: 69.95 kB / 0.6145 GB, free: 13.92 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1453, allocations: 326.8 kB / 0.6148 GB, free: 13.59 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1455, allocations: 120.6 kB / 0.6149 GB, free: 13.47 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1457, allocations: 129.2 kB / 0.615 GB, free: 13.35 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.1462, allocations: 282.2 kB / 0.6153 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1462, allocations: 0 / 0.6153 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005265/0.1467, allocations: 365.8 kB / 0.6156 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1467, allocations: 4 kB / 0.6156 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1467, allocations: 4 kB / 0.6156 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1467, allocations: 4 kB / 0.6156 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.147, allocations: 67.91 kB / 0.6157 GB, free: 12.63 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.147, allocations: 4 kB / 0.6157 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1471, allocations: 19.83 kB / 0.6157 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.1472, allocations: 15.98 kB / 0.6157 GB, free: 12.59 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.0001178/0.1473, allocations: 141.6 kB / 0.6159 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1473, allocations: 11.91 kB / 0.6159 GB, free: 12.43 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.148, allocations: 403.2 kB / 0.6163 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.148, allocations: 4 kB / 0.6163 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.148, allocations: 0 / 0.6163 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.148, allocations: 4 kB / 0.6163 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1482, allocations: 241 kB / 0.6165 GB, free: 11.75 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1482, allocations: 0 / 0.6165 GB, free: 11.75 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.1487, allocations: 83.89 kB / 0.6166 GB, free: 11.67 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1487, allocations: 4 kB / 0.6166 GB, free: 11.66 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.1487, allocations: 19.98 kB / 0.6166 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1487, allocations: 0 / 0.6166 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1487, allocations: 0 / 0.6166 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.1495, allocations: 0.5342 MB / 0.6171 GB, free: 11.09 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1496, allocations: 47.8 kB / 0.6172 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.1496, allocations: 8 kB / 0.6172 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1497, allocations: 4 kB / 0.6172 GB, free: 11.03 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.1498, allocations: 27.95 kB / 0.6172 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1498, allocations: 11.98 kB / 0.6172 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.1499, allocations: 106.3 kB / 0.6173 GB, free: 10.89 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1499, allocations: 4 kB / 0.6173 GB, free: 10.89 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002743/0.1502, allocations: 68 kB / 0.6174 GB, free: 10.82 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.0001567/0.1503, allocations: 123.1 kB / 0.6175 GB, free: 10.69 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.1508, allocations: 287.7 kB / 0.6178 GB, free: 10.41 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1508, allocations: 0 / 0.6178 GB, free: 10.41 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.151, allocations: 156.8 kB / 0.6179 GB, free: 10.26 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1513, allocations: 40.14 kB / 0.618 GB, free: 10.22 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1525, allocations: 0.86 MB / 0.6188 GB, free: 9.336 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.1527, allocations: 136.7 kB / 0.619 GB, free: 9.172 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.00019/0.1529, allocations: 97.84 kB / 0.6191 GB, free: 9.074 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.1529, allocations: 28.5 kB / 0.6191 GB, free: 9.047 MB / 0.5295 GB Notification: Performance of SimCode: time 3.81e-07/0.1529, allocations: 0 / 0.6191 GB, free: 9.047 MB / 0.5295 GB Notification: Performance of Templates: time 0.006609/0.1595, allocations: 3.045 MB / 0.6221 GB, free: 6.039 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/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.647769436007366]