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.001349/0.001349, allocations: 111.7 kB / 17.71 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.001619/0.001619, allocations: 187.7 kB / 18.64 MB, free: 4.445 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.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9461/0.9461, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 70.08 kB / 0.573 GB, free: 38.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1357, allocations: 80.68 MB / 0.6518 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.00231/0.1381, allocations: 1.384 MB / 0.6531 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.1389, allocations: 0.5146 MB / 0.6536 GB, free: 9.695 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.139, allocations: 4 kB / 0.6536 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.513e-05/0.1391, allocations: 11.92 kB / 0.6536 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1394, allocations: 51.75 kB / 0.6537 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.1395, allocations: 43.81 kB / 0.6537 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007984/0.1403, allocations: 1.022 MB / 0.6547 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1404, allocations: 12.17 kB / 0.6547 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.1408, allocations: 363.5 kB / 0.6551 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.1414, allocations: 0.5147 MB / 0.6556 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1415, allocations: 67.94 kB / 0.6557 GB, free: 7.613 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.1417, allocations: 75.98 kB / 0.6557 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.1421, allocations: 462.9 kB / 0.6562 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.1426, allocations: 453.9 kB / 0.6566 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.1432, allocations: 0.8213 MB / 0.6574 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1433, allocations: 0 / 0.6574 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1433, allocations: 0 / 0.6574 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.1433, allocations: 0 / 0.6574 GB, free: 5.816 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.002726/0.146, allocations: 1.288 MB / 0.6587 GB, free: 4.477 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.146, allocations: 11.89 kB / 0.6587 GB, free: 4.465 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.1462, allocations: 84 kB / 0.6588 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.1468, allocations: 481.5 kB / 0.6592 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.1469, allocations: 62 kB / 0.6593 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.1471, allocations: 115.7 kB / 0.6594 GB, free: 3.699 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.1487, allocations: 1.135 MB / 0.6605 GB, free: 2.559 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1487, allocations: 0 / 0.6605 GB, free: 2.559 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.1488, allocations: 40 kB / 0.6605 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1489, allocations: 16 kB / 0.6605 GB, free: 2.504 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.1506, allocations: 1.265 MB / 0.6618 GB, free: 1.234 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1519, allocations: 1.088 MB / 0.6628 GB, free: 96 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006009/0.158, allocations: 2.781 MB / 0.6656 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.1592, allocations: 0.8889 MB / 0.6664 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.1594, allocations: 123 kB / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.1595, allocations: 52.56 kB / 0.6666 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 3.086e-06/0.1595, allocations: 3.938 kB / 0.6666 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003928/0.1634, allocations: 2.644 MB / 0.6692 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1635, allocations: 77.34 kB / 0.6693 GB, free: 9.488 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1637, allocations: 233 kB / 0.6695 GB, free: 9.25 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.1638, allocations: 65.64 kB / 0.6695 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1639, allocations: 127.3 kB / 0.6697 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000527/0.1644, allocations: 0.7779 MB / 0.6704 GB, free: 8.262 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/0.1649, allocations: 376.3 kB / 0.6708 GB, free: 7.887 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.165, allocations: 325.9 kB / 0.6711 GB, free: 7.562 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.1663, allocations: 0.9177 MB / 0.672 GB, free: 6.641 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.1677, allocations: 0.9525 MB / 0.6729 GB, free: 5.68 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.1706, allocations: 2.066 MB / 0.6749 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1706, allocations: 0 / 0.6749 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00359/0.1742, allocations: 2.43 MB / 0.6773 GB, free: 1.105 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.1742, allocations: 8 kB / 0.6773 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1742, allocations: 0 / 0.6773 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.011e-05/0.1743, allocations: 8 kB / 0.6773 GB, free: 1.09 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.1763, allocations: 0.5189 MB / 0.6778 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.1763, allocations: 8 kB / 0.6778 GB, free: 0.5625 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.177, allocations: 146.3 kB / 0.678 GB, free: 428 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.1771, allocations: 75.97 kB / 0.678 GB, free: 352 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.0004323/0.1776, allocations: 318.1 kB / 0.6784 GB, free: 24 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.1778, allocations: 83.11 kB / 0.6784 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.1821, allocations: 2.712 MB / 0.6811 GB, free: 13.18 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.1822, allocations: 31.98 kB / 0.6811 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.1822, allocations: 0 / 0.6811 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.1822, allocations: 11.95 kB / 0.6811 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.1839, allocations: 1.35 MB / 0.6824 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.184, allocations: 0 / 0.6824 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/0.1867, allocations: 0.5813 MB / 0.683 GB, free: 11.15 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.1867, allocations: 12 kB / 0.683 GB, free: 11.14 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.1869, allocations: 95.92 kB / 0.6831 GB, free: 11.05 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.1869, allocations: 12 kB / 0.6831 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1869, allocations: 0 / 0.6831 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004867/0.1918, allocations: 3.615 MB / 0.6867 GB, free: 7.34 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/0.1923, allocations: 414.9 kB / 0.687 GB, free: 6.914 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.1925, allocations: 83.95 kB / 0.6871 GB, free: 6.832 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.1932, allocations: 40 kB / 0.6872 GB, free: 6.793 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.1934, allocations: 170 kB / 0.6873 GB, free: 6.625 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.1935, allocations: 75.97 kB / 0.6874 GB, free: 6.551 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001359/0.1937, allocations: 180.4 kB / 0.6876 GB, free: 6.379 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1937, allocations: 0 / 0.6876 GB, free: 6.379 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000794/0.1945, allocations: 448 kB / 0.688 GB, free: 5.941 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.0003291/0.1948, allocations: 217.6 kB / 0.6882 GB, free: 5.723 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003187/0.198, allocations: 2.29 MB / 0.6904 GB, free: 3.402 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.198, allocations: 0 / 0.6904 GB, free: 3.402 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.1996, allocations: 1.265 MB / 0.6917 GB, free: 2.133 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.2004, allocations: 204.2 kB / 0.6919 GB, free: 1.93 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006939/0.2073, allocations: 5.532 MB / 0.6973 GB, free: 12.35 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.2079, allocations: 1.151 MB / 0.6984 GB, free: 11.17 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.2086, allocations: 175.4 kB / 0.6986 GB, free: 11 MB / 0.5452 GB Notification: Performance of SimCode: time 6.31e-07/0.2086, allocations: 0 / 0.6986 GB, free: 11 MB / 0.5452 GB Notification: Performance of Templates: time 0.02499/0.2336, allocations: 18.5 MB / 0.7166 GB, free: 8.504 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