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) 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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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=43200,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") 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: 104.9 kB / 17.06 MB, free: 5.992 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.001397/0.001397, allocations: 191.8 kB / 18 MB, free: 5.078 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.17/1.17, allocations: 119.3 MB / 411.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 61.22 kB / 0.5724 GB, free: 38.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 80.69 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002487/0.1721, allocations: 1.386 MB / 0.6525 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.173, allocations: 0.5146 MB / 0.653 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.1731, allocations: 0 / 0.653 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1732, allocations: 11.86 kB / 0.653 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1735, allocations: 59.75 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.1736, allocations: 39.88 kB / 0.6531 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1739, allocations: 191.5 kB / 0.6533 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1739, allocations: 8.125 kB / 0.6533 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.174, allocations: 83.8 kB / 0.6534 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1742, allocations: 95.75 kB / 0.6535 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1743, allocations: 8 kB / 0.6535 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1744, allocations: 27.98 kB / 0.6535 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1745, allocations: 71.78 kB / 0.6536 GB, free: 9.051 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.1746, allocations: 75.64 kB / 0.6537 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1748, allocations: 143.5 kB / 0.6538 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1748, allocations: 0 / 0.6538 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1748, allocations: 0 / 0.6538 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.1748, allocations: 0 / 0.6538 GB, free: 8.836 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008329/0.1757, allocations: 475.2 kB / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1757, allocations: 11.89 kB / 0.6543 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.1758, allocations: 12.84 kB / 0.6543 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.176, allocations: 219.7 kB / 0.6545 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.176, allocations: 8.234 kB / 0.6545 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.1761, allocations: 24 kB / 0.6545 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.1764, allocations: 179.4 kB / 0.6547 GB, free: 7.832 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1764, allocations: 0 / 0.6547 GB, free: 7.832 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1764, allocations: 4 kB / 0.6547 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1765, allocations: 4 kB / 0.6547 GB, free: 7.824 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.1767, allocations: 144.6 kB / 0.6548 GB, free: 7.684 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.177, allocations: 282.2 kB / 0.6551 GB, free: 7.359 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009295/0.178, allocations: 358.7 kB / 0.6554 GB, free: 7 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1782, allocations: 120.8 kB / 0.6556 GB, free: 6.879 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.1784, allocations: 93.09 kB / 0.6556 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1784, allocations: 34.5 kB / 0.6557 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.1784, allocations: 4 kB / 0.6557 GB, free: 6.723 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006651/0.1791, allocations: 374.1 kB / 0.656 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1791, allocations: 55.41 kB / 0.6561 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1793, allocations: 136.4 kB / 0.6562 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1793, allocations: 29.7 kB / 0.6562 GB, free: 6.109 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1793, allocations: 92.69 kB / 0.6563 GB, free: 6.016 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1795, allocations: 106.5 kB / 0.6564 GB, free: 5.91 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.1796, allocations: 62.03 kB / 0.6565 GB, free: 5.84 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1797, allocations: 342.7 kB / 0.6568 GB, free: 5.496 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.1799, allocations: 120.6 kB / 0.6569 GB, free: 5.379 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1801, allocations: 133.2 kB / 0.6571 GB, free: 5.25 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.1805, allocations: 278.9 kB / 0.6573 GB, free: 4.977 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1805, allocations: 0 / 0.6573 GB, free: 4.977 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004981/0.181, allocations: 353.2 kB / 0.6577 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.181, allocations: 4 kB / 0.6577 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.181, allocations: 0 / 0.6577 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1811, allocations: 4 kB / 0.6577 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.1814, allocations: 75.88 kB / 0.6577 GB, free: 4.543 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1814, allocations: 8 kB / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1815, allocations: 19.84 kB / 0.6578 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1815, allocations: 8 kB / 0.6578 GB, free: 4.508 MB / 0.4983 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.0001136/0.1816, allocations: 138.6 kB / 0.6579 GB, free: 4.363 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1817, allocations: 15.81 kB / 0.6579 GB, free: 4.348 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.1823, allocations: 407.3 kB / 0.6583 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1823, allocations: 4 kB / 0.6583 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1824, allocations: 0 / 0.6583 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1824, allocations: 3.984 kB / 0.6583 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.1827, allocations: 309.3 kB / 0.6586 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1827, allocations: 11.92 kB / 0.6586 GB, free: 3.566 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.1831, allocations: 79.91 kB / 0.6587 GB, free: 3.488 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1831, allocations: 4 kB / 0.6587 GB, free: 3.484 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1832, allocations: 11.98 kB / 0.6587 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1832, allocations: 8 kB / 0.6587 GB, free: 3.465 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1832, allocations: 0 / 0.6587 GB, free: 3.465 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.1839, allocations: 0.5296 MB / 0.6592 GB, free: 2.914 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1841, allocations: 128.8 kB / 0.6594 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1841, allocations: 12 kB / 0.6594 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1842, allocations: 4 kB / 0.6594 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1843, allocations: 27.95 kB / 0.6594 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.1843, allocations: 15.94 kB / 0.6594 GB, free: 2.711 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.1844, allocations: 103.3 kB / 0.6595 GB, free: 2.609 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1844, allocations: 0 / 0.6595 GB, free: 2.609 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002737/0.1847, allocations: 68 kB / 0.6596 GB, free: 2.543 MB / 0.4983 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.0001761/0.1848, allocations: 111.7 kB / 0.6597 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.1853, allocations: 311.9 kB / 0.66 GB, free: 2.121 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1853, allocations: 0 / 0.66 GB, free: 2.121 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1856, allocations: 167.8 kB / 0.6602 GB, free: 1.957 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1859, allocations: 39.64 kB / 0.6602 GB, free: 1.922 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1872, allocations: 0.8431 MB / 0.661 GB, free: 1.055 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1875, allocations: 0.7526 MB / 0.6618 GB, free: 280 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.1877, allocations: 89.84 kB / 0.6618 GB, free: 188 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.1878, allocations: 31.44 kB / 0.6619 GB, free: 156 kB / 0.4983 GB Notification: Performance of SimCode: time 2.6e-07/0.1878, allocations: 0 / 0.6619 GB, free: 156 kB / 0.4983 GB Notification: Performance of Templates: time 0.006362/0.1942, allocations: 3.039 MB / 0.6648 GB, free: 13.15 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (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) 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) Reference file matches