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.0009794/0.0009794, allocations: 112.2 kB / 17.06 MB, free: 5.992 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.001005/0.001005, allocations: 196 kB / 18.01 MB, free: 5.074 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.278/1.278, allocations: 222.9 MB / 241.7 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.8562/0.8562, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.47 kB / 0.5724 GB, free: 38.87 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1224, allocations: 80.69 MB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.002246/0.1246, allocations: 1.382 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.1255, allocations: 0.5146 MB / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.1256, allocations: 0 / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.101e-05/0.1257, allocations: 7.922 kB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.126, allocations: 59.73 kB / 0.6531 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1261, allocations: 35.88 kB / 0.6531 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009275/0.1271, allocations: 1.022 MB / 0.6541 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.1272, allocations: 16.19 kB / 0.6541 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.1277, allocations: 367.5 kB / 0.6545 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.1285, allocations: 0.5147 MB / 0.655 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.1287, allocations: 60 kB / 0.655 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.129, allocations: 79.97 kB / 0.6551 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.1294, allocations: 462.9 kB / 0.6556 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000958/0.1304, allocations: 453.9 kB / 0.656 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1315, allocations: 0.8285 MB / 0.6568 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1315, allocations: 0 / 0.6568 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1316, allocations: 4 kB / 0.6568 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.941e-05/0.1316, allocations: 0 / 0.6568 GB, free: 5.793 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.004391/0.136, allocations: 1.303 MB / 0.6581 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.136, allocations: 11.89 kB / 0.6581 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.1364, allocations: 88.42 kB / 0.6582 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1374, allocations: 477.8 kB / 0.6586 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.1375, allocations: 66 kB / 0.6587 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.1378, allocations: 115.8 kB / 0.6588 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.1404, allocations: 1.139 MB / 0.6599 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1405, allocations: 4 kB / 0.6599 GB, free: 2.508 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.1406, allocations: 28 kB / 0.6599 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1406, allocations: 20 kB / 0.66 GB, free: 2.461 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.1425, allocations: 1.265 MB / 0.6612 GB, free: 1.191 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1438, allocations: 1.085 MB / 0.6623 GB, free: 56 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/0.1501, allocations: 2.785 MB / 0.665 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.1513, allocations: 0.8851 MB / 0.6658 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.1515, allocations: 123 kB / 0.666 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1515, allocations: 56.56 kB / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 2.715e-06/0.1516, allocations: 0 / 0.666 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003994/0.1556, allocations: 2.653 MB / 0.6686 GB, free: 9.531 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1556, allocations: 77.41 kB / 0.6687 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1558, allocations: 233 kB / 0.6689 GB, free: 9.203 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.1559, allocations: 57.7 kB / 0.669 GB, free: 9.141 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.156, allocations: 127.3 kB / 0.6691 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.1566, allocations: 0.8211 MB / 0.6699 GB, free: 8.184 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.1571, allocations: 384.2 kB / 0.6702 GB, free: 7.801 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1572, allocations: 329.8 kB / 0.6706 GB, free: 7.473 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.1586, allocations: 0.9177 MB / 0.6715 GB, free: 6.551 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.16, allocations: 0.9525 MB / 0.6724 GB, free: 5.59 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.1629, allocations: 2.062 MB / 0.6744 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1629, allocations: 0 / 0.6744 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003425/0.1664, allocations: 2.435 MB / 0.6768 GB, free: 1.016 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1664, allocations: 4 kB / 0.6768 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1664, allocations: 0 / 0.6768 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.1664, allocations: 12 kB / 0.6768 GB, free: 1 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.1684, allocations: 0.5228 MB / 0.6773 GB, free: 488 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.1684, allocations: 11.98 kB / 0.6773 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.1691, allocations: 150.8 kB / 0.6775 GB, free: 324 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.1693, allocations: 83.97 kB / 0.6775 GB, free: 240 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.0003775/0.1696, allocations: 306.2 kB / 0.6778 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1698, allocations: 95.42 kB / 0.6779 GB, free: 15.83 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.1741, allocations: 2.712 MB / 0.6806 GB, free: 13.06 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.1741, allocations: 28 kB / 0.6806 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1741, allocations: 0 / 0.6806 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.1741, allocations: 11.95 kB / 0.6806 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.1756, allocations: 1.339 MB / 0.6819 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1756, allocations: 4 kB / 0.6819 GB, free: 11.64 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/0.1784, allocations: 0.5853 MB / 0.6825 GB, free: 11.05 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.275e-05/0.1784, allocations: 11.98 kB / 0.6825 GB, free: 11.04 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.1786, allocations: 91.94 kB / 0.6826 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.1786, allocations: 16 kB / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1786, allocations: 0 / 0.6826 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/0.1834, allocations: 3.624 MB / 0.6861 GB, free: 7.23 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.184, allocations: 423.4 kB / 0.6865 GB, free: 6.797 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.1842, allocations: 83.95 kB / 0.6866 GB, free: 6.715 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.1848, allocations: 44 kB / 0.6867 GB, free: 6.672 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.1851, allocations: 162 kB / 0.6868 GB, free: 6.512 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.1852, allocations: 83.97 kB / 0.6869 GB, free: 6.43 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001269/0.1854, allocations: 172.5 kB / 0.6871 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1854, allocations: 0 / 0.6871 GB, free: 6.266 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007044/0.1861, allocations: 448 kB / 0.6875 GB, free: 5.828 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.0002948/0.1864, allocations: 225.5 kB / 0.6877 GB, free: 5.602 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.1896, allocations: 2.278 MB / 0.6899 GB, free: 3.293 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1896, allocations: 0 / 0.6899 GB, free: 3.293 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.1912, allocations: 1.269 MB / 0.6912 GB, free: 2.02 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.1919, allocations: 200.3 kB / 0.6914 GB, free: 1.82 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.1988, allocations: 5.538 MB / 0.6968 GB, free: 12.23 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.1995, allocations: 1.151 MB / 0.6979 GB, free: 11.05 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001495/0.201, allocations: 0.7394 MB / 0.6986 GB, free: 10.31 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005878/0.2016, allocations: 175.4 kB / 0.6988 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of SimCode: time 3.1e-07/0.2016, allocations: 0 / 0.6988 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of Templates: time 0.03004/0.2316, allocations: 19.29 MB / 0.7176 GB, free: 6.906 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