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.001375/0.001375, allocations: 114.7 kB / 17.07 MB, free: 5.969 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.00147/0.00147, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.424/1.424, allocations: 222.9 MB / 241.7 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 1.028/1.028, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 65.73 kB / 0.5724 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1607, allocations: 80.69 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002612/0.1634, allocations: 1.386 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.1643, allocations: 0.5068 MB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.1644, allocations: 7.938 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.239e-05/0.1645, allocations: 7.922 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1648, allocations: 55.73 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.1649, allocations: 35.89 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1652, allocations: 199.4 kB / 0.6533 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.1653, allocations: 8.172 kB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1654, allocations: 75.86 kB / 0.6534 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1656, allocations: 99.7 kB / 0.6535 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.1657, allocations: 12 kB / 0.6535 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1658, allocations: 31.97 kB / 0.6535 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1659, allocations: 63.84 kB / 0.6536 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.166, allocations: 67.66 kB / 0.6537 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1662, allocations: 139.4 kB / 0.6538 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1663, allocations: 0 / 0.6538 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1663, allocations: 0 / 0.6538 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1663, allocations: 0 / 0.6538 GB, free: 8.879 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.0008653/0.1671, allocations: 482.9 kB / 0.6543 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1672, allocations: 11.89 kB / 0.6543 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1672, allocations: 12.89 kB / 0.6543 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1675, allocations: 223.8 kB / 0.6545 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1675, allocations: 12.23 kB / 0.6545 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.1676, allocations: 16 kB / 0.6545 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.1679, allocations: 179.4 kB / 0.6547 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1679, allocations: 0 / 0.6547 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1679, allocations: 4 kB / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1679, allocations: 4 kB / 0.6547 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.1682, allocations: 152.5 kB / 0.6548 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.1686, allocations: 286.3 kB / 0.6551 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1696, allocations: 354.8 kB / 0.6555 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1698, allocations: 124.8 kB / 0.6556 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.17, allocations: 93.08 kB / 0.6557 GB, free: 6.793 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.17, allocations: 34.56 kB / 0.6557 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.353e-06/0.17, allocations: 0 / 0.6557 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0007146/0.1708, allocations: 378.1 kB / 0.6561 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1708, allocations: 55.41 kB / 0.6561 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1709, allocations: 133 kB / 0.6562 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.171, allocations: 33.64 kB / 0.6563 GB, free: 6.133 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.171, allocations: 92.7 kB / 0.6564 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1712, allocations: 115 kB / 0.6565 GB, free: 5.926 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1713, allocations: 66.03 kB / 0.6565 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1714, allocations: 334.8 kB / 0.6568 GB, free: 5.516 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1716, allocations: 124.6 kB / 0.657 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1719, allocations: 129.2 kB / 0.6571 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.1723, allocations: 275 kB / 0.6574 GB, free: 5 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1723, allocations: 0 / 0.6574 GB, free: 5 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005538/0.1729, allocations: 353.3 kB / 0.6577 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1729, allocations: 4 kB / 0.6577 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1729, allocations: 0 / 0.6577 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1729, allocations: 8 kB / 0.6577 GB, free: 4.637 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1732, allocations: 75.89 kB / 0.6578 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1733, allocations: 4 kB / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1734, allocations: 23.78 kB / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.1734, allocations: 12 kB / 0.6578 GB, free: 4.523 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.000124/0.1736, allocations: 134.6 kB / 0.6579 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1736, allocations: 15.91 kB / 0.658 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.1743, allocations: 407.4 kB / 0.6583 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1743, allocations: 4 kB / 0.6583 GB, free: 3.953 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1743, allocations: 0 / 0.6583 GB, free: 3.953 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1743, allocations: 3.984 kB / 0.6584 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.1747, allocations: 313.3 kB / 0.6587 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1747, allocations: 0 / 0.6587 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.1751, allocations: 79.91 kB / 0.6587 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1751, allocations: 4 kB / 0.6587 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.1752, allocations: 15.98 kB / 0.6587 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1752, allocations: 4 kB / 0.6587 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1752, allocations: 0 / 0.6587 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.176, allocations: 0.5414 MB / 0.6593 GB, free: 2.93 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1762, allocations: 124.8 kB / 0.6594 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.1762, allocations: 8 kB / 0.6594 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1763, allocations: 8 kB / 0.6594 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.1764, allocations: 31.94 kB / 0.6594 GB, free: 2.742 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1764, allocations: 16 kB / 0.6595 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.1765, allocations: 103.2 kB / 0.6596 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1765, allocations: 0 / 0.6596 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002676/0.1768, allocations: 68 kB / 0.6596 GB, free: 2.559 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.0001916/0.177, allocations: 111.7 kB / 0.6597 GB, free: 2.441 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.1775, allocations: 315.9 kB / 0.66 GB, free: 2.133 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1775, allocations: 0 / 0.66 GB, free: 2.133 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.1778, allocations: 167.8 kB / 0.6602 GB, free: 1.969 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1781, allocations: 35.97 kB / 0.6602 GB, free: 1.934 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1794, allocations: 0.862 MB / 0.6611 GB, free: 1.047 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.1798, allocations: 0.7488 MB / 0.6618 GB, free: 276 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.18, allocations: 89.84 kB / 0.6619 GB, free: 184 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.1801, allocations: 35.42 kB / 0.6619 GB, free: 148 kB / 0.4983 GB Notification: Performance of SimCode: time 2.305e-06/0.1801, allocations: 112 / 0.6619 GB, free: 148 kB / 0.4983 GB Notification: Performance of Templates: time 0.006882/0.187, allocations: 3.047 MB / 0.6649 GB, free: 13.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/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