Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009911/0.000991, allocations: 105.2 kB / 17.74 MB, free: 5.336 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.001094/0.001095, allocations: 186.5 kB / 18.67 MB, free: 4.414 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.306/1.306, allocations: 222.9 MB / 242.4 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 0.9749/0.9749, allocations: 119.3 MB / 411.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 68.8 kB / 0.573 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 80.69 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002728/0.1613, allocations: 1.39 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1624, allocations: 0.5185 MB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.1625, allocations: 0 / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1626, allocations: 11.92 kB / 0.6537 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.163, allocations: 51.75 kB / 0.6538 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1631, allocations: 39.88 kB / 0.6538 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1634, allocations: 195.4 kB / 0.654 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.1635, allocations: 8.188 kB / 0.654 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1636, allocations: 71.88 kB / 0.6541 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1639, allocations: 107.7 kB / 0.6542 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.1639, allocations: 8 kB / 0.6542 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1641, allocations: 27.98 kB / 0.6542 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1642, allocations: 59.86 kB / 0.6542 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1643, allocations: 75.62 kB / 0.6543 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1645, allocations: 147.5 kB / 0.6545 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1645, allocations: 0 / 0.6545 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1645, allocations: 0 / 0.6545 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.1645, allocations: 4 kB / 0.6545 GB, free: 8.859 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.0008269/0.1654, allocations: 471.2 kB / 0.6549 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1654, allocations: 11.89 kB / 0.6549 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.1655, allocations: 16.84 kB / 0.6549 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1658, allocations: 219.7 kB / 0.6552 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1658, allocations: 8.234 kB / 0.6552 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1659, allocations: 16 kB / 0.6552 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1662, allocations: 179.4 kB / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1662, allocations: 0 / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1662, allocations: 0 / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1662, allocations: 7.984 kB / 0.6554 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.1665, allocations: 148.5 kB / 0.6555 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1669, allocations: 290.2 kB / 0.6558 GB, free: 7.379 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.1679, allocations: 358.6 kB / 0.6561 GB, free: 7.02 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1681, allocations: 120.8 kB / 0.6562 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.1683, allocations: 93.09 kB / 0.6563 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1683, allocations: 34.56 kB / 0.6563 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.1683, allocations: 0 / 0.6563 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006489/0.169, allocations: 370.1 kB / 0.6567 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.169, allocations: 59.39 kB / 0.6568 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1691, allocations: 136.3 kB / 0.6569 GB, free: 6.168 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1692, allocations: 33.7 kB / 0.6569 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.1692, allocations: 88.7 kB / 0.657 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1693, allocations: 118.4 kB / 0.6571 GB, free: 5.922 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.1694, allocations: 58.03 kB / 0.6572 GB, free: 5.855 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1696, allocations: 334.8 kB / 0.6575 GB, free: 5.52 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.1698, allocations: 116.6 kB / 0.6576 GB, free: 5.406 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.17, allocations: 129.2 kB / 0.6577 GB, free: 5.281 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.1704, allocations: 279 kB / 0.658 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1704, allocations: 0 / 0.658 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005087/0.1709, allocations: 357.2 kB / 0.6583 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.171, allocations: 4 kB / 0.6583 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.171, allocations: 4 kB / 0.6583 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.171, allocations: 4 kB / 0.6583 GB, free: 4.641 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.1713, allocations: 71.91 kB / 0.6584 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1713, allocations: 3.938 kB / 0.6584 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1714, allocations: 15.84 kB / 0.6584 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1715, allocations: 15.98 kB / 0.6584 GB, free: 4.535 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.0001295/0.1716, allocations: 138.6 kB / 0.6586 GB, free: 4.391 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1716, allocations: 15.81 kB / 0.6586 GB, free: 4.375 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.1723, allocations: 403.4 kB / 0.659 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1723, allocations: 0 / 0.659 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1723, allocations: 4 kB / 0.659 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1725, allocations: 124.8 kB / 0.6591 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.1725, allocations: 15.98 kB / 0.6591 GB, free: 3.809 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1727, allocations: 11.88 kB / 0.6591 GB, free: 3.797 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.1727, allocations: 27.97 kB / 0.6592 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001013/0.1737, allocations: 0.5005 MB / 0.6596 GB, free: 3.262 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008181/0.1746, allocations: 0.6954 MB / 0.6603 GB, free: 2.547 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002135/0.1748, allocations: 164.1 kB / 0.6605 GB, free: 2.387 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.1749, allocations: 99.27 kB / 0.6606 GB, free: 2.289 MB / 0.4983 GB Notification: Performance of Backend: time 5.11e-07/0.1749, allocations: 0 / 0.6606 GB, free: 2.289 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0006021/0.1755, allocations: 280.1 kB / 0.6608 GB, free: 2.012 MB / 0.4983 GB Notification: Performance of SimCode: time 0.001074/0.1766, allocations: 1.192 MB / 0.662 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of Templates: time 0.006892/0.1835, allocations: 3.49 MB / 0.6654 GB, free: 13.29 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches