Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 103.3 kB / 17.73 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 188.1 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9465/0.9465, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.66 kB / 0.573 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 80.69 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.0022/0.1637, allocations: 1.382 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.1646, allocations: 0.5224 MB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.1646, allocations: 0 / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.76e-05/0.1647, allocations: 3.938 kB / 0.6537 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.165, allocations: 59.72 kB / 0.6537 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.1652, allocations: 27.91 kB / 0.6538 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.1657, allocations: 0.5538 MB / 0.6543 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.1657, allocations: 12.12 kB / 0.6543 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1659, allocations: 199.7 kB / 0.6545 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.1663, allocations: 279.4 kB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.1664, allocations: 32 kB / 0.6548 GB, free: 8.496 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1666, allocations: 51.98 kB / 0.6549 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.1668, allocations: 235.5 kB / 0.6551 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.1671, allocations: 238.9 kB / 0.6553 GB, free: 7.98 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.1675, allocations: 442.4 kB / 0.6557 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1675, allocations: 0 / 0.6557 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1675, allocations: 0 / 0.6557 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.1675, allocations: 0 / 0.6557 GB, free: 7.547 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001606/0.1691, allocations: 0.8115 MB / 0.6565 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1691, allocations: 15.89 kB / 0.6565 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1692, allocations: 40.47 kB / 0.6566 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.1696, allocations: 335.5 kB / 0.6569 GB, free: 6.262 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1697, allocations: 33 kB / 0.6569 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.1698, allocations: 67.8 kB / 0.657 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.1706, allocations: 0.5801 MB / 0.6576 GB, free: 5.578 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1706, allocations: 3.984 kB / 0.6576 GB, free: 5.574 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.1707, allocations: 16 kB / 0.6576 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1707, allocations: 12 kB / 0.6576 GB, free: 5.547 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.1715, allocations: 0.5894 MB / 0.6582 GB, free: 4.957 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.1723, allocations: 0.6099 MB / 0.6588 GB, free: 4.301 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.1753, allocations: 1.36 MB / 0.6601 GB, free: 2.934 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.1759, allocations: 459.5 kB / 0.6605 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.1761, allocations: 110.1 kB / 0.6606 GB, free: 2.355 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1762, allocations: 43.56 kB / 0.6607 GB, free: 2.305 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.725e-06/0.1762, allocations: 3.938 kB / 0.6607 GB, free: 2.301 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.001982/0.1782, allocations: 1.346 MB / 0.662 GB, free: 0.9492 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1782, allocations: 64.39 kB / 0.6621 GB, free: 0.8711 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1784, allocations: 174.7 kB / 0.6622 GB, free: 0.6914 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.1784, allocations: 41.7 kB / 0.6623 GB, free: 0.6445 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1785, allocations: 106.1 kB / 0.6624 GB, free: 0.5352 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.1787, allocations: 406.2 kB / 0.6627 GB, free: 136 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.179, allocations: 195 kB / 0.6629 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1791, allocations: 370.7 kB / 0.6633 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.1798, allocations: 478.3 kB / 0.6637 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.1805, allocations: 487.5 kB / 0.6642 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.1819, allocations: 1.04 MB / 0.6652 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1819, allocations: 0 / 0.6652 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001684/0.1836, allocations: 1.242 MB / 0.6664 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1836, allocations: 8 kB / 0.6664 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1836, allocations: 4 kB / 0.6665 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1836, allocations: 7.984 kB / 0.6665 GB, free: 12.3 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.1846, allocations: 267.7 kB / 0.6667 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.1846, allocations: 4 kB / 0.6667 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.185, allocations: 79.12 kB / 0.6668 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.1851, allocations: 35.98 kB / 0.6668 GB, free: 11.93 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 (144): * Single equations (assignments): 144 * 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.000223/0.1853, allocations: 214.3 kB / 0.667 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.1854, allocations: 43.53 kB / 0.6671 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.1875, allocations: 1.392 MB / 0.6684 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.1875, allocations: 15.98 kB / 0.6684 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1875, allocations: 4 kB / 0.6685 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.1875, allocations: 11.97 kB / 0.6685 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.1884, allocations: 0.7425 MB / 0.6692 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1884, allocations: 0 / 0.6692 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.1897, allocations: 303.7 kB / 0.6695 GB, free: 9.152 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.1897, allocations: 7.984 kB / 0.6695 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.613e-05/0.1898, allocations: 47.97 kB / 0.6695 GB, free: 9.098 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.1898, allocations: 7.938 kB / 0.6695 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1899, allocations: 0 / 0.6695 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.1923, allocations: 1.862 MB / 0.6714 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.1926, allocations: 248 kB / 0.6716 GB, free: 6.945 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1927, allocations: 43.97 kB / 0.6716 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.193, allocations: 20 kB / 0.6717 GB, free: 6.883 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.1931, allocations: 85.19 kB / 0.6717 GB, free: 6.797 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/0.1932, allocations: 39.98 kB / 0.6718 GB, free: 6.758 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001002/0.1933, allocations: 140.3 kB / 0.6719 GB, free: 6.621 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1933, allocations: 0 / 0.6719 GB, free: 6.621 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004605/0.1938, allocations: 235.9 kB / 0.6721 GB, free: 6.391 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002435/0.194, allocations: 159 kB / 0.6723 GB, free: 6.227 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.1956, allocations: 1.159 MB / 0.6734 GB, free: 5.066 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1956, allocations: 0 / 0.6734 GB, free: 5.066 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.1964, allocations: 0.628 MB / 0.674 GB, free: 4.441 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1969, allocations: 115.9 kB / 0.6741 GB, free: 4.328 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.2005, allocations: 2.857 MB / 0.6769 GB, free: 1.434 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.2009, allocations: 0.9228 MB / 0.6778 GB, free: 496 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.2013, allocations: 95.41 kB / 0.6779 GB, free: 400 kB / 0.5139 GB Notification: Performance of SimCode: time 6.22e-07/0.2013, allocations: 0 / 0.6779 GB, free: 400 kB / 0.5139 GB Notification: Performance of Templates: time 0.01237/0.2137, allocations: 9.495 MB / 0.6872 GB, free: 6.918 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches