Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 107 kB / 17.74 MB, free: 5.359 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.001089/0.001089, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.275/1.275, allocations: 222.9 MB / 242.4 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 0.9605/0.9605, allocations: 119.3 MB / 411.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 57.66 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, 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_40): time 0.002617/0.1431, allocations: 1.386 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1442, allocations: 0.5145 MB / 0.6537 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.1443, allocations: 4 kB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.1444, allocations: 7.922 kB / 0.6537 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.1447, allocations: 59.72 kB / 0.6538 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.1449, allocations: 39.83 kB / 0.6538 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008992/0.1458, allocations: 1.018 MB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.1458, allocations: 16.12 kB / 0.6548 GB, free: 8.512 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.1464, allocations: 367.5 kB / 0.6552 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008133/0.1472, allocations: 0.5146 MB / 0.6557 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.1475, allocations: 64 kB / 0.6557 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.1477, allocations: 79.97 kB / 0.6558 GB, free: 7.496 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.1481, allocations: 463 kB / 0.6562 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.1487, allocations: 449.9 kB / 0.6567 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.1496, allocations: 0.8291 MB / 0.6575 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1496, allocations: 0 / 0.6575 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1497, allocations: 0 / 0.6575 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.906e-05/0.1497, allocations: 0 / 0.6575 GB, free: 5.77 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003088/0.1528, allocations: 1.281 MB / 0.6587 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1528, allocations: 15.89 kB / 0.6587 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.153, allocations: 84 kB / 0.6588 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1538, allocations: 477.5 kB / 0.6593 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.1539, allocations: 65.98 kB / 0.6593 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.1541, allocations: 103.7 kB / 0.6594 GB, free: 3.668 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.1558, allocations: 1.143 MB / 0.6606 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1559, allocations: 0 / 0.6606 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.156, allocations: 32 kB / 0.6606 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.156, allocations: 20 kB / 0.6606 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.1577, allocations: 1.261 MB / 0.6618 GB, free: 1.203 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1591, allocations: 1.088 MB / 0.6629 GB, free: 64 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006131/0.1653, allocations: 2.781 MB / 0.6656 GB, free: 13.28 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.1665, allocations: 0.8851 MB / 0.6665 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.1668, allocations: 127 kB / 0.6666 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1668, allocations: 52.56 kB / 0.6666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.577e-06/0.1668, allocations: 0 / 0.6666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.004055/0.1709, allocations: 2.648 MB / 0.6692 GB, free: 9.547 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.171, allocations: 81.28 kB / 0.6693 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1712, allocations: 237 kB / 0.6695 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.464e-05/0.1713, allocations: 57.7 kB / 0.6696 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.1714, allocations: 127.3 kB / 0.6697 GB, free: 9.02 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/0.172, allocations: 0.774 MB / 0.6705 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/0.1725, allocations: 380.3 kB / 0.6708 GB, free: 7.855 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1726, allocations: 322 kB / 0.6711 GB, free: 7.535 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.174, allocations: 0.9216 MB / 0.672 GB, free: 6.609 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.1754, allocations: 0.9486 MB / 0.673 GB, free: 5.652 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.1783, allocations: 2.07 MB / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.1784, allocations: 0 / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003541/0.1819, allocations: 2.442 MB / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.182, allocations: 4 kB / 0.6774 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.182, allocations: 0 / 0.6774 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.182, allocations: 12 kB / 0.6774 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.184, allocations: 0.515 MB / 0.6779 GB, free: 0.5312 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.901e-05/0.1841, allocations: 8 kB / 0.6779 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.1848, allocations: 146.3 kB / 0.678 GB, free: 388 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.1849, allocations: 79.97 kB / 0.6781 GB, free: 308 kB / 0.5139 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 (284): * Single equations (assignments): 284 * 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.0004612/0.1854, allocations: 310.1 kB / 0.6784 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.1856, allocations: 87 kB / 0.6785 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/0.19, allocations: 2.716 MB / 0.6811 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.1901, allocations: 11.95 kB / 0.6812 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.1901, allocations: 0 / 0.6812 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000836/0.1909, allocations: 422.9 kB / 0.6816 GB, free: 12.69 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.1911, allocations: 75.95 kB / 0.6816 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.1918, allocations: 48 kB / 0.6817 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.1921, allocations: 161.9 kB / 0.6818 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006923/0.199, allocations: 3.101 MB / 0.6849 GB, free: 9.258 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00577/0.2048, allocations: 4.031 MB / 0.6888 GB, free: 5.148 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001649/0.2065, allocations: 1.208 MB / 0.69 GB, free: 3.926 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001529/0.2066, allocations: 176.5 kB / 0.6901 GB, free: 3.758 MB / 0.5295 GB Notification: Performance of Backend: time 5.11e-07/0.2067, allocations: 0 / 0.6901 GB, free: 3.758 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002788/0.2095, allocations: 1.533 MB / 0.6916 GB, free: 2.211 MB / 0.5295 GB Notification: Performance of SimCode: time 0.005478/0.2149, allocations: 5.002 MB / 0.6965 GB, free: 13.16 MB / 0.5452 GB Notification: Performance of Templates: time 0.03747/0.2524, allocations: 23.1 MB / 0.7191 GB, free: 6.051 MB / 0.5608 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches