Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001129/0.001129, allocations: 108.5 kB / 17.74 MB, free: 5.316 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.001141/0.001141, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.276/1.276, allocations: 222.9 MB / 242.4 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.9414/0.9414, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.14 kB / 0.573 GB, free: 38.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1454, allocations: 80.68 MB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002196/0.1476, allocations: 1.394 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008346/0.1484, allocations: 0.5223 MB / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.1485, allocations: 0 / 0.6537 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.705e-05/0.1486, allocations: 7.922 kB / 0.6537 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1489, allocations: 55.73 kB / 0.6537 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.149, allocations: 35.88 kB / 0.6538 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008138/0.1498, allocations: 1.022 MB / 0.6548 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.1499, allocations: 12.12 kB / 0.6548 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.1502, allocations: 363.5 kB / 0.6551 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.1508, allocations: 0.5264 MB / 0.6556 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.151, allocations: 56 kB / 0.6557 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.1512, allocations: 79.98 kB / 0.6558 GB, free: 7.504 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.1516, allocations: 459 kB / 0.6562 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.152, allocations: 457.9 kB / 0.6566 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.1527, allocations: 0.8213 MB / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1527, allocations: 0 / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.535e-06/0.1527, allocations: 0 / 0.6575 GB, free: 5.781 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.1528, allocations: 3.938 kB / 0.6575 GB, free: 5.777 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.002794/0.1556, allocations: 1.288 MB / 0.6587 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1556, allocations: 11.89 kB / 0.6587 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1558, allocations: 84 kB / 0.6588 GB, free: 4.344 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.1564, allocations: 477.5 kB / 0.6593 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1564, allocations: 62 kB / 0.6593 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.1566, allocations: 115.7 kB / 0.6594 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.1583, allocations: 1.143 MB / 0.6605 GB, free: 2.516 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1583, allocations: 0 / 0.6605 GB, free: 2.516 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.1584, allocations: 32 kB / 0.6606 GB, free: 2.484 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.1584, allocations: 20 kB / 0.6606 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.1601, allocations: 1.261 MB / 0.6618 GB, free: 1.199 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1615, allocations: 1.084 MB / 0.6629 GB, free: 64 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006047/0.1675, allocations: 2.777 MB / 0.6656 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.1687, allocations: 0.8889 MB / 0.6665 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.169, allocations: 123 kB / 0.6666 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.169, allocations: 56.55 kB / 0.6666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 4.488e-06/0.1691, allocations: 3.984 kB / 0.6666 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003943/0.173, allocations: 2.648 MB / 0.6692 GB, free: 9.543 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1731, allocations: 77.41 kB / 0.6693 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.1733, allocations: 232.9 kB / 0.6695 GB, free: 9.215 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.681e-05/0.1734, allocations: 61.7 kB / 0.6696 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.1735, allocations: 127.3 kB / 0.6697 GB, free: 9.02 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/0.174, allocations: 0.774 MB / 0.6705 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/0.1745, allocations: 376.3 kB / 0.6708 GB, free: 7.859 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1746, allocations: 333.9 kB / 0.6711 GB, free: 7.527 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.176, allocations: 0.9176 MB / 0.672 GB, free: 6.605 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.1773, allocations: 0.9525 MB / 0.673 GB, free: 5.645 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.1802, allocations: 2.066 MB / 0.675 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1802, allocations: 0 / 0.675 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003469/0.1837, allocations: 2.434 MB / 0.6774 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1837, allocations: 7.125 kB / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1837, allocations: 0 / 0.6774 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.1837, allocations: 12 kB / 0.6774 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.1857, allocations: 0.515 MB / 0.6779 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.1857, allocations: 12 kB / 0.6779 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.1863, allocations: 142.3 kB / 0.678 GB, free: 392 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.1865, allocations: 87.97 kB / 0.6781 GB, free: 304 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.0004079/0.1869, allocations: 310.2 kB / 0.6784 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.1871, allocations: 83.06 kB / 0.6785 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.1911, allocations: 2.716 MB / 0.6811 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.1912, allocations: 28 kB / 0.6812 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1912, allocations: 0 / 0.6812 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.1912, allocations: 15.94 kB / 0.6812 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1928, allocations: 1.334 MB / 0.6825 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1929, allocations: 3.984 kB / 0.6825 GB, free: 11.7 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/0.1955, allocations: 0.5853 MB / 0.6831 GB, free: 11.12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.1955, allocations: 11.94 kB / 0.6831 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/0.1957, allocations: 95.92 kB / 0.6832 GB, free: 11.01 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.1957, allocations: 8 kB / 0.6832 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1957, allocations: 4 kB / 0.6832 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/0.2006, allocations: 3.611 MB / 0.6867 GB, free: 7.309 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/0.2012, allocations: 414.9 kB / 0.6871 GB, free: 6.883 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.2014, allocations: 79.95 kB / 0.6872 GB, free: 6.805 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.202, allocations: 48 kB / 0.6872 GB, free: 6.758 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.2023, allocations: 162 kB / 0.6874 GB, free: 6.598 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.2024, allocations: 87.97 kB / 0.6875 GB, free: 6.512 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001356/0.2025, allocations: 164.5 kB / 0.6876 GB, free: 6.355 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2026, allocations: 0 / 0.6876 GB, free: 6.355 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000802/0.2034, allocations: 452 kB / 0.688 GB, free: 5.914 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.0003258/0.2037, allocations: 221.5 kB / 0.6883 GB, free: 5.691 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00329/0.207, allocations: 2.294 MB / 0.6905 GB, free: 3.367 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.207, allocations: 3.938 kB / 0.6905 GB, free: 3.363 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.2086, 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.0006925/0.2093, allocations: 203.9 kB / 0.6919 GB, free: 1.895 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00709/0.2164, allocations: 5.524 MB / 0.6973 GB, free: 12.32 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.2171, allocations: 1.151 MB / 0.6984 GB, free: 11.14 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007332/0.2178, allocations: 175.4 kB / 0.6986 GB, free: 10.97 MB / 0.5452 GB Notification: Performance of SimCode: time 7.61e-07/0.2178, allocations: 0 / 0.6986 GB, free: 10.97 MB / 0.5452 GB Notification: Performance of Templates: time 0.02664/0.2445, allocations: 18.51 MB / 0.7167 GB, free: 8.473 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches