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.001186/0.001186, allocations: 113.9 kB / 17.07 MB, free: 6 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.001206/0.001206, allocations: 190.9 kB / 18 MB, free: 5.082 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.897/0.897, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 61.38 kB / 0.5724 GB, free: 38.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 80.71 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002065/0.126, allocations: 1.37 MB / 0.6525 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.1268, allocations: 0.5185 MB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.1269, allocations: 0 / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.535e-05/0.1269, allocations: 11.92 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1272, allocations: 51.75 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1273, allocations: 47.81 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.1281, allocations: 1.022 MB / 0.6541 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1281, allocations: 12.12 kB / 0.6541 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.1285, allocations: 363.6 kB / 0.6545 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.1291, allocations: 0.5146 MB / 0.655 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.1292, allocations: 60 kB / 0.655 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1294, allocations: 79.97 kB / 0.6551 GB, free: 7.5 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/0.1298, allocations: 470.9 kB / 0.6556 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.1301, allocations: 449.9 kB / 0.656 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.1308, allocations: 0.8252 MB / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1308, allocations: 0 / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1308, allocations: 0 / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.1308, allocations: 0 / 0.6568 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.002649/0.1334, allocations: 1.285 MB / 0.6581 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1335, allocations: 11.89 kB / 0.6581 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.1337, allocations: 84 kB / 0.6581 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.1342, allocations: 481.5 kB / 0.6586 GB, free: 3.828 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.1343, allocations: 62 kB / 0.6587 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1344, allocations: 119.7 kB / 0.6588 GB, free: 3.652 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.136, allocations: 1.135 MB / 0.6599 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.136, allocations: 0 / 0.6599 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.1361, allocations: 32 kB / 0.6599 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1362, allocations: 20 kB / 0.6599 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.1378, allocations: 1.261 MB / 0.6612 GB, free: 1.195 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.139, allocations: 1.092 MB / 0.6622 GB, free: 52 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/0.1449, allocations: 2.781 MB / 0.6649 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.146, allocations: 0.8811 MB / 0.6658 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.1463, allocations: 127 kB / 0.6659 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1463, allocations: 56.56 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 2.625e-06/0.1463, allocations: 0 / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003711/0.15, allocations: 2.648 MB / 0.6686 GB, free: 9.535 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1501, allocations: 73.41 kB / 0.6686 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1503, allocations: 233 kB / 0.6689 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.469e-05/0.1504, allocations: 53.7 kB / 0.6689 GB, free: 9.152 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.1505, allocations: 135.3 kB / 0.669 GB, free: 9.016 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/0.151, allocations: 0.774 MB / 0.6698 GB, free: 8.23 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.1514, allocations: 380.3 kB / 0.6702 GB, free: 7.852 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.1515, allocations: 325.9 kB / 0.6705 GB, free: 7.527 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.1529, allocations: 0.9216 MB / 0.6714 GB, free: 6.602 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.1543, allocations: 0.9525 MB / 0.6723 GB, free: 5.641 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.157, allocations: 2.059 MB / 0.6743 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1571, allocations: 3.938 kB / 0.6743 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003269/0.1603, allocations: 2.438 MB / 0.6767 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1604, allocations: 4 kB / 0.6767 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1604, allocations: 0 / 0.6767 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.1604, allocations: 12 kB / 0.6767 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.1623, allocations: 0.5228 MB / 0.6772 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.1623, allocations: 11.98 kB / 0.6772 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/0.163, allocations: 142.3 kB / 0.6774 GB, free: 380 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.1631, allocations: 79.97 kB / 0.6774 GB, free: 300 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.0003937/0.1635, allocations: 310.2 kB / 0.6777 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.1637, allocations: 79.06 kB / 0.6778 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/0.1677, allocations: 2.724 MB / 0.6805 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.1677, allocations: 24 kB / 0.6805 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1678, allocations: 4 kB / 0.6805 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.1678, allocations: 15.94 kB / 0.6805 GB, free: 13.08 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.1693, allocations: 1.346 MB / 0.6818 GB, free: 11.69 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1693, allocations: 0 / 0.6818 GB, free: 11.69 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002578/0.1719, allocations: 0.5892 MB / 0.6824 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.1719, allocations: 8 kB / 0.6824 GB, free: 11.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.172, allocations: 95.92 kB / 0.6825 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.1721, allocations: 8 kB / 0.6825 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1721, allocations: 0 / 0.6825 GB, free: 10.99 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.1767, allocations: 3.615 MB / 0.686 GB, free: 7.293 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.1772, allocations: 418.9 kB / 0.6864 GB, free: 6.863 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.1774, allocations: 79.95 kB / 0.6865 GB, free: 6.785 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.178, allocations: 44 kB / 0.6866 GB, free: 6.742 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.1783, allocations: 166 kB / 0.6867 GB, free: 6.578 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.1784, allocations: 75.97 kB / 0.6868 GB, free: 6.504 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001231/0.1785, allocations: 172.5 kB / 0.687 GB, free: 6.34 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1785, allocations: 0 / 0.687 GB, free: 6.34 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007317/0.1793, allocations: 448 kB / 0.6874 GB, free: 5.902 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.0003144/0.1796, allocations: 229.5 kB / 0.6876 GB, free: 5.672 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.1826, allocations: 2.282 MB / 0.6898 GB, free: 3.359 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1826, allocations: 0 / 0.6898 GB, free: 3.359 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.1841, allocations: 1.265 MB / 0.6911 GB, free: 2.09 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.1848, allocations: 204.2 kB / 0.6913 GB, free: 1.887 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.1913, allocations: 5.464 MB / 0.6966 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.1919, allocations: 1.159 MB / 0.6977 GB, free: 11.19 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001416/0.1933, allocations: 0.7395 MB / 0.6985 GB, free: 10.45 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.1938, allocations: 167.4 kB / 0.6986 GB, free: 10.28 MB / 0.5452 GB Notification: Performance of SimCode: time 2.5e-07/0.1938, allocations: 0 / 0.6986 GB, free: 10.28 MB / 0.5452 GB Notification: Performance of Templates: time 0.02746/0.2213, allocations: 19.3 MB / 0.7175 GB, free: 7.035 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/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