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.00173/0.00173, allocations: 109.5 kB / 17.06 MB, free: 6.016 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.002023/0.002023, allocations: 191.8 kB / 18 MB, free: 5.102 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.008/1.008, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.98 kB / 0.5724 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1607, allocations: 80.69 MB / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002365/0.1631, allocations: 1.394 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.164, allocations: 0.5146 MB / 0.653 GB, free: 9.684 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.164, allocations: 0 / 0.653 GB, free: 9.684 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.832e-05/0.1641, allocations: 7.922 kB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1644, allocations: 63.72 kB / 0.6531 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.1645, allocations: 31.88 kB / 0.6531 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1648, allocations: 199.4 kB / 0.6533 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.1648, allocations: 4.188 kB / 0.6533 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1649, allocations: 83.81 kB / 0.6534 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1651, allocations: 95.75 kB / 0.6535 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.1652, allocations: 8 kB / 0.6535 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.1653, allocations: 31.92 kB / 0.6535 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.1654, allocations: 67.84 kB / 0.6536 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/0.1655, allocations: 75.62 kB / 0.6537 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1657, allocations: 139.4 kB / 0.6538 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1657, allocations: 0 / 0.6538 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1657, allocations: 4 kB / 0.6538 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1657, allocations: 0 / 0.6538 GB, free: 8.887 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.0007629/0.1665, allocations: 478.9 kB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1665, allocations: 19.89 kB / 0.6543 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1666, allocations: 12.89 kB / 0.6543 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1668, allocations: 215.9 kB / 0.6545 GB, free: 8.086 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1668, allocations: 4.234 kB / 0.6545 GB, free: 8.082 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.1669, allocations: 16 kB / 0.6545 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.1672, allocations: 179.3 kB / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1672, allocations: 0 / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1672, allocations: 8 kB / 0.6547 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1672, allocations: 0 / 0.6547 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.1675, allocations: 144.6 kB / 0.6548 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.1678, allocations: 298.2 kB / 0.6551 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.1687, allocations: 354.8 kB / 0.6555 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1689, allocations: 120.8 kB / 0.6556 GB, free: 6.922 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.1691, allocations: 89.09 kB / 0.6557 GB, free: 6.816 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1691, allocations: 38.56 kB / 0.6557 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.202e-06/0.1691, allocations: 0 / 0.6557 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006344/0.1698, allocations: 378 kB / 0.6561 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1698, allocations: 55.41 kB / 0.6561 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1699, allocations: 133.1 kB / 0.6562 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.17, allocations: 29.7 kB / 0.6563 GB, free: 6.156 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.17, allocations: 96.7 kB / 0.6564 GB, free: 6.059 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1701, allocations: 119 kB / 0.6565 GB, free: 5.941 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.1702, allocations: 62.03 kB / 0.6565 GB, free: 5.871 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1704, allocations: 334.8 kB / 0.6569 GB, free: 5.535 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1706, allocations: 120.6 kB / 0.657 GB, free: 5.418 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1708, allocations: 121.2 kB / 0.6571 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.1712, allocations: 282.9 kB / 0.6574 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1712, allocations: 0 / 0.6574 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004858/0.1717, allocations: 353.2 kB / 0.6577 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1717, allocations: 12 kB / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1717, allocations: 0 / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1717, allocations: 3.938 kB / 0.6577 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.172, allocations: 75.91 kB / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1721, allocations: 0 / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1722, allocations: 23.83 kB / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.1722, allocations: 12 kB / 0.6578 GB, free: 4.547 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.0001181/0.1723, allocations: 138.6 kB / 0.6579 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1724, allocations: 15.91 kB / 0.658 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.173, allocations: 403.4 kB / 0.6583 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.173, allocations: 4 kB / 0.6583 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1731, allocations: 4 kB / 0.6584 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1731, allocations: 3.984 kB / 0.6584 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.1734, allocations: 309.3 kB / 0.6587 GB, free: 3.617 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1734, allocations: 4 kB / 0.6587 GB, free: 3.613 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.1738, allocations: 83.89 kB / 0.6587 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1738, allocations: 0 / 0.6587 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.1739, allocations: 19.98 kB / 0.6588 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1739, allocations: 7.922 kB / 0.6588 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1739, allocations: 0 / 0.6588 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/0.1747, allocations: 0.5337 MB / 0.6593 GB, free: 2.949 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1748, allocations: 124.8 kB / 0.6594 GB, free: 2.809 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.1748, allocations: 16 kB / 0.6594 GB, free: 2.793 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1749, allocations: 4 kB / 0.6594 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.175, allocations: 23.97 kB / 0.6594 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.175, allocations: 11.98 kB / 0.6595 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.1751, allocations: 103.2 kB / 0.6596 GB, free: 2.652 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1751, allocations: 4 kB / 0.6596 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002652/0.1754, allocations: 64 kB / 0.6596 GB, free: 2.586 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.0001842/0.1756, allocations: 115.7 kB / 0.6597 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.1761, allocations: 315.9 kB / 0.66 GB, free: 2.156 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1761, allocations: 3.938 kB / 0.66 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.1763, allocations: 163.8 kB / 0.6602 GB, free: 1.992 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1766, allocations: 31.98 kB / 0.6602 GB, free: 1.961 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1779, allocations: 0.8579 MB / 0.6611 GB, free: 1.078 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1783, allocations: 0.7527 MB / 0.6618 GB, free: 304 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.1785, allocations: 89.86 kB / 0.6619 GB, free: 212 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.1786, allocations: 23.55 kB / 0.6619 GB, free: 188 kB / 0.4983 GB Notification: Performance of SimCode: time 4.11e-07/0.1786, allocations: 3.938 kB / 0.6619 GB, free: 184 kB / 0.4983 GB Notification: Performance of Templates: time 0.006832/0.1854, allocations: 3.044 MB / 0.6649 GB, free: 13.17 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