Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001658/0.001658, allocations: 71.75 kB / 21.24 MB, free: 404 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.002047/0.002047, allocations: 168.9 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.303/1.303, allocations: 177.2 MB / 204.9 MB, free: 9.039 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.8341/0.8341, allocations: 88.07 MB / 349.3 MB, free: 1.398 MB / 318.2 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_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_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.001937/0.001937, allocations: 74.86 kB / 0.5256 GB, free: 7.098 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.14, allocations: 85.84 MB / 0.6094 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002367/0.1424, allocations: 1.367 MB / 0.6107 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.1433, allocations: 0.5224 MB / 0.6112 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.1433, allocations: 0 / 0.6112 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.572e-05/0.1434, allocations: 15.86 kB / 0.6113 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1437, allocations: 63.72 kB / 0.6113 GB, free: 1.203 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.1438, allocations: 39.89 kB / 0.6114 GB, free: 1.164 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1441, allocations: 319.3 kB / 0.6117 GB, free: 0.8516 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1441, allocations: 4.188 kB / 0.6117 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.1443, allocations: 127.7 kB / 0.6118 GB, free: 0.7227 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1446, allocations: 151.7 kB / 0.6119 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.1447, allocations: 16 kB / 0.6119 GB, free: 0.5586 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1448, allocations: 43.98 kB / 0.612 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.145, allocations: 127.6 kB / 0.6121 GB, free: 400 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1451, allocations: 115.5 kB / 0.6122 GB, free: 284 kB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1454, allocations: 239 kB / 0.6124 GB, free: 44 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1454, allocations: 0 / 0.6124 GB, free: 44 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1454, allocations: 0 / 0.6124 GB, free: 44 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1454, allocations: 0 / 0.6124 GB, free: 44 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.001062/0.1464, allocations: 0.5212 MB / 0.613 GB, free: 15.49 MB / 0.5296 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1465, allocations: 12.03 kB / 0.613 GB, free: 15.48 MB / 0.5296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.1465, allocations: 24.8 kB / 0.613 GB, free: 15.45 MB / 0.5296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.1468, allocations: 201.8 kB / 0.6132 GB, free: 15.23 MB / 0.5296 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1469, allocations: 12.5 kB / 0.6132 GB, free: 15.22 MB / 0.5296 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.1469, allocations: 35.95 kB / 0.6132 GB, free: 15.18 MB / 0.5296 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.1474, allocations: 311.9 kB / 0.6135 GB, free: 14.87 MB / 0.5296 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1474, allocations: 0 / 0.6135 GB, free: 14.87 MB / 0.5296 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.1475, allocations: 12 kB / 0.6135 GB, free: 14.86 MB / 0.5296 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1475, allocations: 8 kB / 0.6135 GB, free: 14.85 MB / 0.5296 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.148, allocations: 285.8 kB / 0.6138 GB, free: 14.57 MB / 0.5296 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1484, allocations: 299.4 kB / 0.6141 GB, free: 14.25 MB / 0.5296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.15, allocations: 0.6545 MB / 0.6147 GB, free: 13.59 MB / 0.5296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.1504, allocations: 218.2 kB / 0.615 GB, free: 13.38 MB / 0.5296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.1505, allocations: 20.48 kB / 0.615 GB, free: 13.36 MB / 0.5296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1505, allocations: 35.06 kB / 0.615 GB, free: 13.31 MB / 0.5296 GB Notification: Performance of pre-optimization done (n=53): time 1.583e-06/0.1505, allocations: 3.938 kB / 0.615 GB, free: 13.3 MB / 0.5296 GB Notification: Performance of matching and sorting (n=53): time 0.001165/0.1517, allocations: 0.7015 MB / 0.6157 GB, free: 12.59 MB / 0.5296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1517, allocations: 59.91 kB / 0.6158 GB, free: 12.52 MB / 0.5296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1519, allocations: 149.4 kB / 0.6159 GB, free: 12.36 MB / 0.5296 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1519, allocations: 37.7 kB / 0.6159 GB, free: 12.32 MB / 0.5296 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.152, allocations: 101.1 kB / 0.616 GB, free: 12.22 MB / 0.5296 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.1521, allocations: 218.1 kB / 0.6162 GB, free: 12 MB / 0.5296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1523, allocations: 106.3 kB / 0.6163 GB, free: 11.89 MB / 0.5296 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1525, allocations: 346.8 kB / 0.6167 GB, free: 11.54 MB / 0.5296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1528, allocations: 233.1 kB / 0.6169 GB, free: 11.32 MB / 0.5296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.1532, allocations: 253.7 kB / 0.6171 GB, free: 11.07 MB / 0.5296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.154, allocations: 0.5284 MB / 0.6176 GB, free: 10.54 MB / 0.5296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.154, allocations: 0 / 0.6176 GB, free: 10.54 MB / 0.5296 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001062/0.1551, allocations: 0.6493 MB / 0.6183 GB, free: 9.883 MB / 0.5296 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1551, allocations: 11.22 kB / 0.6183 GB, free: 9.875 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1551, allocations: 0 / 0.6183 GB, free: 9.875 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1551, allocations: 4 kB / 0.6183 GB, free: 9.871 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.1557, allocations: 135.9 kB / 0.6184 GB, free: 9.738 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.1557, allocations: 15.88 kB / 0.6184 GB, free: 9.723 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1559, allocations: 31.73 kB / 0.6185 GB, free: 9.691 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.1559, allocations: 27.98 kB / 0.6185 GB, free: 9.664 MB / 0.5296 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.0001614/0.1561, allocations: 157.7 kB / 0.6186 GB, free: 9.5 MB / 0.5296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1561, allocations: 23.86 kB / 0.6187 GB, free: 9.477 MB / 0.5296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.1573, allocations: 0.7281 MB / 0.6194 GB, free: 8.738 MB / 0.5296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1573, allocations: 8 kB / 0.6194 GB, free: 8.73 MB / 0.5296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1573, allocations: 3.938 kB / 0.6194 GB, free: 8.727 MB / 0.5296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1573, allocations: 3.984 kB / 0.6194 GB, free: 8.723 MB / 0.5296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.1578, allocations: 365.4 kB / 0.6197 GB, free: 8.336 MB / 0.5296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1578, allocations: 4 kB / 0.6197 GB, free: 8.332 MB / 0.5296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/0.1586, allocations: 159.8 kB / 0.6199 GB, free: 8.176 MB / 0.5296 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1586, allocations: 4 kB / 0.6199 GB, free: 8.172 MB / 0.5296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.1586, allocations: 27.98 kB / 0.6199 GB, free: 8.145 MB / 0.5296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1586, allocations: 0 / 0.6199 GB, free: 8.145 MB / 0.5296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1586, allocations: 0 / 0.6199 GB, free: 8.145 MB / 0.5296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.16, allocations: 0.9709 MB / 0.6209 GB, free: 7.152 MB / 0.5296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.1602, allocations: 83.61 kB / 0.621 GB, free: 7.07 MB / 0.5296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.1602, allocations: 24.11 kB / 0.621 GB, free: 7.047 MB / 0.5296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.1604, allocations: 16 kB / 0.621 GB, free: 7.031 MB / 0.5296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.1605, allocations: 48.5 kB / 0.621 GB, free: 6.984 MB / 0.5296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.1605, allocations: 20 kB / 0.6211 GB, free: 6.965 MB / 0.5296 GB Notification: Performance of sorting global known variables: time 8.23e-05/0.1606, allocations: 115.2 kB / 0.6212 GB, free: 6.852 MB / 0.5296 GB Notification: Performance of sort global known variables: time 7e-08/0.1606, allocations: 0 / 0.6212 GB, free: 6.852 MB / 0.5296 GB Notification: Performance of remove unused functions: time 0.0003311/0.161, allocations: 131.9 kB / 0.6213 GB, free: 6.723 MB / 0.5296 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.0001707/0.1611, allocations: 127.2 kB / 0.6214 GB, free: 6.59 MB / 0.5296 GB Notification: Performance of simCode: created initialization part: time 0.0008532/0.162, allocations: 0.5559 MB / 0.622 GB, free: 6.035 MB / 0.5296 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.162, allocations: 0 / 0.622 GB, free: 6.035 MB / 0.5296 GB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.1624, allocations: 311.5 kB / 0.6223 GB, free: 5.73 MB / 0.5296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1627, allocations: 63.16 kB / 0.6223 GB, free: 5.672 MB / 0.5296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1648, allocations: 1.504 MB / 0.6238 GB, free: 4.141 MB / 0.5296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.165, allocations: 192.6 kB / 0.624 GB, free: 3.93 MB / 0.5296 GB Notification: Performance of simCode: alias equations: time 0.000361/0.1654, allocations: 191 kB / 0.6242 GB, free: 3.742 MB / 0.5296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1655, allocations: 48.48 kB / 0.6242 GB, free: 3.695 MB / 0.5296 GB Notification: Performance of SimCode: time 3.91e-07/0.1655, allocations: 0 / 0.6242 GB, free: 3.695 MB / 0.5296 GB Notification: Performance of Templates: time 0.01002/0.1755, allocations: 5.328 MB / 0.6294 GB, free: 14.43 MB / 0.5452 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -s ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_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: 6.717375830048695]