Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 178.2 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007483/0.0007483, allocations: 97.91 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7794/0.7794, allocations: 120.5 MB / 465.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.000335, allocations: 11.38 kB / 0.5477 GB, free: 40.09 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 82.85 MB / 0.6286 GB, free: 6.508 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001289/0.1599, allocations: 1.087 MB / 0.6297 GB, free: 5.41 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.1608, allocations: 0.7138 MB / 0.6304 GB, free: 4.641 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.1609, allocations: 0 / 0.6304 GB, free: 4.641 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.161, allocations: 3.938 kB / 0.6304 GB, free: 4.637 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1613, allocations: 55.8 kB / 0.6304 GB, free: 4.582 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.815e-05/0.1614, allocations: 39.88 kB / 0.6305 GB, free: 4.543 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1616, allocations: 239.4 kB / 0.6307 GB, free: 4.309 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.1617, allocations: 8.188 kB / 0.6307 GB, free: 4.301 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1619, allocations: 71.81 kB / 0.6308 GB, free: 4.23 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1621, allocations: 107.7 kB / 0.6309 GB, free: 4.125 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1621, allocations: 8 kB / 0.6309 GB, free: 4.117 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/0.1622, allocations: 31.98 kB / 0.6309 GB, free: 4.086 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1623, allocations: 67.84 kB / 0.631 GB, free: 4.02 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.1624, allocations: 97.34 kB / 0.6311 GB, free: 3.918 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1626, allocations: 131.8 kB / 0.6312 GB, free: 3.789 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1627, allocations: 0 / 0.6312 GB, free: 3.789 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1627, allocations: 0 / 0.6312 GB, free: 3.789 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1627, allocations: 0 / 0.6312 GB, free: 3.789 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.0007657/0.1634, allocations: 459.2 kB / 0.6316 GB, free: 3.289 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1635, allocations: 8.031 kB / 0.6316 GB, free: 3.281 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.1635, allocations: 20.69 kB / 0.6317 GB, free: 3.262 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1638, allocations: 212 kB / 0.6319 GB, free: 3.016 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1638, allocations: 16.17 kB / 0.6319 GB, free: 3 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.1639, allocations: 16 kB / 0.6319 GB, free: 2.984 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1642, allocations: 175.4 kB / 0.6321 GB, free: 2.809 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1642, allocations: 3.938 kB / 0.6321 GB, free: 2.805 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1642, allocations: 4 kB / 0.6321 GB, free: 2.801 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1642, allocations: 8 kB / 0.6321 GB, free: 2.793 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.1645, allocations: 144.6 kB / 0.6322 GB, free: 2.652 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1648, allocations: 282.2 kB / 0.6325 GB, free: 2.328 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.1657, allocations: 350.8 kB / 0.6328 GB, free: 1.977 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1659, allocations: 124.8 kB / 0.6329 GB, free: 1.852 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.1661, allocations: 97.02 kB / 0.633 GB, free: 1.738 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1661, allocations: 34.56 kB / 0.6331 GB, free: 1.695 MB / 442.8 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.1661, allocations: 0 / 0.6331 GB, free: 1.695 MB / 442.8 MB Notification: Performance of matching and sorting (n=28): time 0.0006391/0.1668, allocations: 388.3 kB / 0.6334 GB, free: 1.312 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1668, allocations: 55.41 kB / 0.6335 GB, free: 1.246 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.167, allocations: 137.6 kB / 0.6336 GB, free: 1.102 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.167, allocations: 33.7 kB / 0.6336 GB, free: 1.062 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.167, allocations: 88.7 kB / 0.6337 GB, free: 0.9727 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.434e-05/0.1671, allocations: 110.4 kB / 0.6338 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.1672, allocations: 8 kB / 0.6338 GB, free: 0.8555 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1673, allocations: 334.8 kB / 0.6342 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1675, allocations: 120.6 kB / 0.6343 GB, free: 408 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.1677, allocations: 125.2 kB / 0.6344 GB, free: 284 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.1681, allocations: 275.3 kB / 0.6347 GB, free: 8 kB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1681, allocations: 0 / 0.6347 GB, free: 8 kB / 442.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000488/0.1686, allocations: 361.1 kB / 0.635 GB, free: 15.64 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1686, allocations: 4 kB / 0.635 GB, free: 15.64 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1686, allocations: 4 kB / 0.635 GB, free: 15.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1686, allocations: 7.922 kB / 0.635 GB, free: 15.63 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.1689, allocations: 79.91 kB / 0.6351 GB, free: 15.55 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.169, allocations: 0 / 0.6351 GB, free: 15.55 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1691, allocations: 15.84 kB / 0.6351 GB, free: 15.54 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1691, allocations: 12 kB / 0.6351 GB, free: 15.52 MB / 458.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.0001146/0.1692, allocations: 141.7 kB / 0.6353 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1692, allocations: 15.81 kB / 0.6353 GB, free: 15.36 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/0.1699, allocations: 399.4 kB / 0.6357 GB, free: 14.96 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1699, allocations: 7.984 kB / 0.6357 GB, free: 14.95 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1699, allocations: 0 / 0.6357 GB, free: 14.95 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1699, allocations: 4 kB / 0.6357 GB, free: 14.95 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1702, allocations: 317.1 kB / 0.636 GB, free: 14.59 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1702, allocations: 0 / 0.636 GB, free: 14.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.1706, allocations: 83.91 kB / 0.6361 GB, free: 14.51 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1706, allocations: 0 / 0.6361 GB, free: 14.51 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1707, allocations: 19.98 kB / 0.6361 GB, free: 14.49 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1707, allocations: 0 / 0.6361 GB, free: 14.49 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1707, allocations: 0 / 0.6361 GB, free: 14.49 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.1714, allocations: 0.5216 MB / 0.6366 GB, free: 13.95 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1715, allocations: 128.7 kB / 0.6367 GB, free: 13.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.1716, allocations: 11.98 kB / 0.6367 GB, free: 13.79 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1717, allocations: 8 kB / 0.6367 GB, free: 13.78 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.1717, allocations: 23.97 kB / 0.6367 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1718, allocations: 8 kB / 0.6368 GB, free: 13.75 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.1718, allocations: 111.2 kB / 0.6369 GB, free: 13.64 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1718, allocations: 0 / 0.6369 GB, free: 13.64 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002432/0.1721, allocations: 68 kB / 0.6369 GB, free: 13.57 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.0001738/0.1723, allocations: 127.2 kB / 0.637 GB, free: 13.44 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.1727, allocations: 304.3 kB / 0.6373 GB, free: 13.14 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1727, allocations: 4 kB / 0.6373 GB, free: 13.14 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.1729, allocations: 167.8 kB / 0.6375 GB, free: 12.98 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1732, allocations: 31.92 kB / 0.6375 GB, free: 12.95 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1745, allocations: 1.019 MB / 0.6385 GB, free: 11.89 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1748, allocations: 0.7413 MB / 0.6392 GB, free: 11.13 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.175, allocations: 93.84 kB / 0.6393 GB, free: 11.04 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.1751, allocations: 27.44 kB / 0.6394 GB, free: 11.02 MB / 458.8 MB Notification: Performance of SimCode: time 2.9e-07/0.1751, allocations: 4 kB / 0.6394 GB, free: 11.01 MB / 458.8 MB Notification: Performance of Templates: time 0.005561/0.1807, allocations: 2.779 MB / 0.6421 GB, free: 8.234 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 -abortSlowSimulation -alarm=300 -s=ida -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches