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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 192.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 101.6 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.936/0.936, allocations: 119.3 MB / 460.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 51.92 kB / 0.5404 GB, free: 41.87 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1563, allocations: 80.69 MB / 0.6192 GB, free: 11.34 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002985/0.1593, allocations: 1.441 MB / 0.6207 GB, free: 9.887 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1604, allocations: 0.5186 MB / 0.6212 GB, free: 9.367 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1605, allocations: 0 / 0.6212 GB, free: 9.367 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1606, allocations: 7.922 kB / 0.6212 GB, free: 9.359 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1609, allocations: 55.8 kB / 0.6212 GB, free: 9.305 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.584e-05/0.1611, allocations: 31.84 kB / 0.6213 GB, free: 9.273 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1613, allocations: 235.5 kB / 0.6215 GB, free: 9.043 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.1614, allocations: 8.172 kB / 0.6215 GB, free: 9.035 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1616, allocations: 79.83 kB / 0.6216 GB, free: 8.957 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1618, allocations: 107.7 kB / 0.6217 GB, free: 8.852 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.1618, allocations: 8 kB / 0.6217 GB, free: 8.844 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1619, allocations: 27.98 kB / 0.6217 GB, free: 8.816 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1621, allocations: 67.78 kB / 0.6218 GB, free: 8.75 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.1622, allocations: 71.64 kB / 0.6218 GB, free: 8.68 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1624, allocations: 135.9 kB / 0.622 GB, free: 8.547 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1624, allocations: 3.938 kB / 0.622 GB, free: 8.543 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1624, allocations: 4 kB / 0.622 GB, free: 8.539 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1624, allocations: 0 / 0.622 GB, free: 8.539 MB / 442.8 MB 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.0008569/0.1633, allocations: 475.1 kB / 0.6224 GB, free: 8.023 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1633, allocations: 8.031 kB / 0.6224 GB, free: 8.016 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.1634, allocations: 16.75 kB / 0.6224 GB, free: 8 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1637, allocations: 208.1 kB / 0.6226 GB, free: 7.758 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1637, allocations: 16.17 kB / 0.6227 GB, free: 7.742 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.1638, allocations: 15.91 kB / 0.6227 GB, free: 7.727 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.1641, allocations: 179.4 kB / 0.6228 GB, free: 7.547 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1641, allocations: 0 / 0.6228 GB, free: 7.547 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1641, allocations: 4 kB / 0.6228 GB, free: 7.543 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1641, allocations: 7.938 kB / 0.6229 GB, free: 7.535 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.1644, allocations: 152.6 kB / 0.623 GB, free: 7.387 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1648, allocations: 290.2 kB / 0.6233 GB, free: 7.055 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.1658, allocations: 345.5 kB / 0.6236 GB, free: 6.711 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1659, allocations: 124.7 kB / 0.6237 GB, free: 6.586 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.1661, allocations: 93.09 kB / 0.6238 GB, free: 6.477 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1662, allocations: 34.56 kB / 0.6238 GB, free: 6.434 MB / 442.8 MB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.1662, allocations: 0 / 0.6238 GB, free: 6.434 MB / 442.8 MB Notification: Performance of matching and sorting (n=28): time 0.0006601/0.1668, allocations: 382 kB / 0.6242 GB, free: 6.055 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1669, allocations: 55.41 kB / 0.6243 GB, free: 5.988 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.167, allocations: 129.7 kB / 0.6244 GB, free: 5.852 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1671, allocations: 33.7 kB / 0.6244 GB, free: 5.812 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.1671, allocations: 92.7 kB / 0.6245 GB, free: 5.719 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1672, allocations: 122.3 kB / 0.6246 GB, free: 5.598 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.1673, allocations: 58.03 kB / 0.6247 GB, free: 5.535 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1675, allocations: 338.8 kB / 0.625 GB, free: 5.195 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1677, allocations: 120.5 kB / 0.6251 GB, free: 5.078 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1679, allocations: 129.2 kB / 0.6252 GB, free: 4.953 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.1683, allocations: 282.6 kB / 0.6255 GB, free: 4.676 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1683, allocations: 4 kB / 0.6255 GB, free: 4.672 MB / 442.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004915/0.1688, allocations: 349.3 kB / 0.6258 GB, free: 4.324 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1688, allocations: 4 kB / 0.6259 GB, free: 4.32 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1688, allocations: 4 kB / 0.6259 GB, free: 4.316 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1688, allocations: 3.984 kB / 0.6259 GB, free: 4.312 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.1691, allocations: 75.89 kB / 0.6259 GB, free: 4.238 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1691, allocations: 0 / 0.6259 GB, free: 4.238 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1693, allocations: 19.75 kB / 0.626 GB, free: 4.219 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1693, allocations: 12 kB / 0.626 GB, free: 4.207 MB / 442.8 MB 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.000116/0.1694, allocations: 138.4 kB / 0.6261 GB, free: 4.062 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1694, allocations: 19.81 kB / 0.6261 GB, free: 4.043 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007258/0.1702, allocations: 403.3 kB / 0.6265 GB, free: 3.637 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1702, allocations: 4 kB / 0.6265 GB, free: 3.633 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1702, allocations: 8 kB / 0.6265 GB, free: 3.625 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1702, allocations: 3.984 kB / 0.6265 GB, free: 3.621 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1705, allocations: 309.2 kB / 0.6268 GB, free: 3.27 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1706, allocations: 3.984 kB / 0.6268 GB, free: 3.266 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.171, allocations: 83.91 kB / 0.6269 GB, free: 3.184 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.171, allocations: 0 / 0.6269 GB, free: 3.184 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.171, allocations: 15.98 kB / 0.6269 GB, free: 3.168 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.171, allocations: 0 / 0.6269 GB, free: 3.168 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.171, allocations: 3.938 kB / 0.6269 GB, free: 3.164 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/0.1793, allocations: 4.102 MB / 0.6309 GB, free: 14.9 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1794, allocations: 128.7 kB / 0.631 GB, free: 14.75 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1795, allocations: 8 kB / 0.631 GB, free: 14.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1796, allocations: 15.94 kB / 0.6311 GB, free: 14.73 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1797, allocations: 23.95 kB / 0.6311 GB, free: 14.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.1797, allocations: 19.98 kB / 0.6311 GB, free: 14.69 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.1798, allocations: 97.92 kB / 0.6312 GB, free: 14.59 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1798, allocations: 0 / 0.6312 GB, free: 14.59 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0004121/0.1802, allocations: 108 kB / 0.6313 GB, free: 14.49 MB / 458.8 MB 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.0001671/0.1804, allocations: 123 kB / 0.6314 GB, free: 14.36 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.1808, allocations: 304.3 kB / 0.6317 GB, free: 14.07 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.1808, allocations: 0 / 0.6317 GB, free: 14.07 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1811, allocations: 167.8 kB / 0.6319 GB, free: 13.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1813, allocations: 35.98 kB / 0.6319 GB, free: 13.87 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.183, allocations: 1.179 MB / 0.6331 GB, free: 12.64 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1833, allocations: 0.7682 MB / 0.6338 GB, free: 11.85 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.1836, allocations: 114.8 kB / 0.6339 GB, free: 11.74 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.1838, allocations: 39.42 kB / 0.634 GB, free: 11.7 MB / 458.8 MB Notification: Performance of SimCode: time 2e-07/0.1838, allocations: 0 / 0.634 GB, free: 11.7 MB / 458.8 MB Notification: Performance of Templates: time 0.008566/0.1924, allocations: 4.697 MB / 0.6385 GB, free: 7.047 MB / 458.8 MB 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@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches