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.00137/0.00137, allocations: 109.4 kB / 17.74 MB, free: 5.23 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.001313/0.001313, allocations: 183.1 kB / 18.66 MB, free: 4.312 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.398/1.398, 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.9162/0.9162, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.3 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1525, allocations: 80.68 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.002527/0.1551, allocations: 1.39 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.156, allocations: 0.5185 MB / 0.6537 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.1561, allocations: 0 / 0.6537 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.744e-05/0.1562, allocations: 11.92 kB / 0.6537 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1565, allocations: 51.73 kB / 0.6537 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.1566, allocations: 39.88 kB / 0.6538 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008564/0.1575, allocations: 1.026 MB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.1575, allocations: 8.188 kB / 0.6548 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.1579, allocations: 363.5 kB / 0.6551 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006986/0.1586, allocations: 0.5225 MB / 0.6557 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1588, allocations: 60 kB / 0.6557 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.159, allocations: 75.98 kB / 0.6558 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.1594, allocations: 463 kB / 0.6562 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.1598, allocations: 453.9 kB / 0.6567 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.1606, allocations: 0.8252 MB / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1606, allocations: 0 / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.155e-06/0.1606, allocations: 0 / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.1606, allocations: 0 / 0.6575 GB, free: 5.781 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.002978/0.1636, allocations: 1.285 MB / 0.6587 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1636, allocations: 15.89 kB / 0.6587 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.1638, allocations: 84 kB / 0.6588 GB, free: 4.348 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.1645, allocations: 477.5 kB / 0.6593 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.1645, allocations: 61.98 kB / 0.6593 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.1647, allocations: 119.7 kB / 0.6594 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.1664, allocations: 1.147 MB / 0.6606 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1665, allocations: 0 / 0.6606 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.1666, allocations: 35.94 kB / 0.6606 GB, free: 2.477 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1666, allocations: 16 kB / 0.6606 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.1683, allocations: 1.265 MB / 0.6618 GB, free: 1.191 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1697, allocations: 1.08 MB / 0.6629 GB, free: 60 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/0.1759, allocations: 2.781 MB / 0.6656 GB, free: 13.28 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.1772, allocations: 0.885 MB / 0.6665 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.1775, allocations: 123 kB / 0.6666 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.1775, allocations: 60.55 kB / 0.6667 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 4.258e-06/0.1775, allocations: 3.938 kB / 0.6667 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003913/0.1815, allocations: 2.64 MB / 0.6692 GB, free: 9.543 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1815, allocations: 77.41 kB / 0.6693 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1818, allocations: 233 kB / 0.6695 GB, free: 9.215 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.1819, allocations: 57.7 kB / 0.6696 GB, free: 9.152 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.182, allocations: 127.3 kB / 0.6697 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006231/0.1826, allocations: 0.7779 MB / 0.6705 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/0.1832, allocations: 380.2 kB / 0.6708 GB, free: 7.855 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1833, allocations: 325.9 kB / 0.6711 GB, free: 7.531 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.1848, allocations: 0.9216 MB / 0.672 GB, free: 6.605 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.1863, allocations: 0.9525 MB / 0.673 GB, free: 5.645 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.1894, allocations: 2.066 MB / 0.675 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.1894, allocations: 0 / 0.675 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003698/0.1931, allocations: 2.43 MB / 0.6774 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1932, allocations: 8 kB / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1932, allocations: 0 / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.1932, allocations: 8 kB / 0.6774 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.1952, allocations: 0.5189 MB / 0.6779 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-05/0.1953, allocations: 8 kB / 0.6779 GB, free: 0.5273 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.1961, allocations: 150.3 kB / 0.678 GB, free: 388 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.1962, 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.0004955/0.1967, allocations: 310.2 kB / 0.6784 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.1969, allocations: 83.06 kB / 0.6785 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.2016, allocations: 2.712 MB / 0.6811 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.2016, allocations: 28 kB / 0.6812 GB, free: 13.11 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.2016, allocations: 0 / 0.6812 GB, free: 13.11 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.2016, allocations: 15.94 kB / 0.6812 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.2033, allocations: 1.338 MB / 0.6825 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2033, allocations: 0 / 0.6825 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/0.206, allocations: 0.5891 MB / 0.6831 GB, free: 11.12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-05/0.2061, allocations: 12 kB / 0.6831 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.2063, allocations: 99.92 kB / 0.6832 GB, free: 11.01 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/0.2063, allocations: 8 kB / 0.6832 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2063, allocations: 0 / 0.6832 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.2115, allocations: 3.619 MB / 0.6867 GB, free: 7.305 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006008/0.2122, allocations: 410.9 kB / 0.6871 GB, free: 6.883 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.2124, allocations: 83.95 kB / 0.6872 GB, free: 6.801 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.2131, allocations: 44 kB / 0.6872 GB, free: 6.758 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.2134, allocations: 166 kB / 0.6874 GB, free: 6.594 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.2136, allocations: 79.98 kB / 0.6875 GB, free: 6.516 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001437/0.2137, allocations: 176.4 kB / 0.6876 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.342e-06/0.2137, allocations: 0 / 0.6876 GB, free: 6.348 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008833/0.2146, allocations: 447.9 kB / 0.6881 GB, free: 5.91 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (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 Backend phase and start with SimCode phase: time 0.0003682/0.215, allocations: 225.5 kB / 0.6883 GB, free: 5.684 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003524/0.2185, allocations: 2.29 MB / 0.6905 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2185, allocations: 0 / 0.6905 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.2203, allocations: 1.265 MB / 0.6917 GB, free: 2.094 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.2211, allocations: 204.2 kB / 0.6919 GB, free: 1.891 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/0.2284, allocations: 5.52 MB / 0.6973 GB, free: 12.32 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.2291, allocations: 1.155 MB / 0.6985 GB, free: 11.14 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00074/0.2299, allocations: 175.4 kB / 0.6986 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of SimCode: time 7.01e-07/0.2299, allocations: 0 / 0.6986 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of Templates: time 0.0279/0.2578, allocations: 18.66 MB / 0.7168 GB, free: 8.324 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