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.001018/0.001018, allocations: 106.5 kB / 17.06 MB, free: 6.012 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.001031/0.001031, allocations: 195.7 kB / 18 MB, free: 5.094 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.214/1.214, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8232/0.8232, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.36 kB / 0.5724 GB, free: 38.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 80.68 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.002475/0.1325, allocations: 1.39 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.1335, allocations: 0.5146 MB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.1336, allocations: 0 / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.393e-05/0.1337, allocations: 7.938 kB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.134, allocations: 59.72 kB / 0.6531 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.1341, allocations: 35.89 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007882/0.1349, allocations: 1.026 MB / 0.6541 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.135, allocations: 16.12 kB / 0.6541 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005622/0.1356, allocations: 363.5 kB / 0.6545 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.1364, allocations: 0.5186 MB / 0.655 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.1367, allocations: 60 kB / 0.655 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.1369, allocations: 75.98 kB / 0.6551 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.1374, allocations: 463 kB / 0.6556 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.1381, allocations: 457.9 kB / 0.656 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.1388, allocations: 0.8174 MB / 0.6568 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1388, allocations: 0 / 0.6568 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1388, allocations: 0 / 0.6568 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.1388, allocations: 0 / 0.6568 GB, free: 5.797 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.002672/0.1415, allocations: 1.288 MB / 0.6581 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1415, allocations: 15.89 kB / 0.6581 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.1417, allocations: 87.98 kB / 0.6582 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.1423, allocations: 477.5 kB / 0.6586 GB, free: 3.848 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.1423, allocations: 58 kB / 0.6587 GB, free: 3.793 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.1425, allocations: 119.7 kB / 0.6588 GB, free: 3.676 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.144, allocations: 1.131 MB / 0.6599 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1441, allocations: 0 / 0.6599 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.1441, allocations: 39.98 kB / 0.6599 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1442, allocations: 16 kB / 0.6599 GB, free: 2.484 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.1458, allocations: 1.265 MB / 0.6612 GB, free: 1.215 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.1471, allocations: 1.084 MB / 0.6622 GB, free: 80 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/0.1529, allocations: 2.789 MB / 0.665 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.154, allocations: 0.8811 MB / 0.6658 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.1543, allocations: 127 kB / 0.6659 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1543, allocations: 52.56 kB / 0.666 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=203): time 2.655e-06/0.1543, allocations: 4 kB / 0.666 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of matching and sorting (n=203): time 0.003699/0.158, allocations: 2.648 MB / 0.6686 GB, free: 9.555 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1581, allocations: 73.41 kB / 0.6686 GB, free: 9.469 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1583, allocations: 232.9 kB / 0.6689 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.1584, allocations: 61.7 kB / 0.6689 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.1585, allocations: 127.3 kB / 0.669 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.159, allocations: 0.774 MB / 0.6698 GB, free: 8.25 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.1594, allocations: 380.3 kB / 0.6702 GB, free: 7.871 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.1595, allocations: 325.9 kB / 0.6705 GB, free: 7.547 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.1608, allocations: 0.9255 MB / 0.6714 GB, free: 6.617 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.1621, allocations: 0.9486 MB / 0.6723 GB, free: 5.66 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.1648, allocations: 2.062 MB / 0.6743 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1648, allocations: 0 / 0.6743 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003256/0.168, allocations: 2.434 MB / 0.6767 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1681, allocations: 8 kB / 0.6767 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1681, allocations: 0 / 0.6767 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.1681, allocations: 8 kB / 0.6767 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.17, allocations: 0.5189 MB / 0.6772 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.17, allocations: 12 kB / 0.6772 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.1706, allocations: 146.3 kB / 0.6774 GB, free: 404 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.1707, allocations: 75.97 kB / 0.6774 GB, free: 328 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.000369/0.1711, allocations: 314.1 kB / 0.6777 GB, free: 4 kB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.1713, allocations: 83.11 kB / 0.6778 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.1754, allocations: 2.72 MB / 0.6805 GB, free: 13.15 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.1754, allocations: 32 kB / 0.6805 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1754, allocations: 0 / 0.6805 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.1754, allocations: 15.94 kB / 0.6805 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1771, allocations: 1.338 MB / 0.6818 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1771, allocations: 0 / 0.6818 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/0.1797, allocations: 0.5891 MB / 0.6824 GB, free: 11.12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.1797, allocations: 12 kB / 0.6824 GB, free: 11.11 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.1799, allocations: 91.94 kB / 0.6825 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.1799, allocations: 8 kB / 0.6825 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1799, allocations: 3.984 kB / 0.6825 GB, free: 11.01 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.1848, allocations: 3.615 MB / 0.686 GB, free: 7.316 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.1853, allocations: 410.9 kB / 0.6864 GB, free: 6.895 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.1856, allocations: 83.89 kB / 0.6865 GB, free: 6.812 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.1861, allocations: 48 kB / 0.6866 GB, free: 6.766 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.1864, allocations: 162 kB / 0.6867 GB, free: 6.605 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.1865, allocations: 79.97 kB / 0.6868 GB, free: 6.527 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001236/0.1866, allocations: 168.5 kB / 0.687 GB, free: 6.367 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1866, allocations: 0 / 0.687 GB, free: 6.367 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0007864/0.1874, allocations: 452 kB / 0.6874 GB, free: 5.926 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.0003382/0.1878, allocations: 229.4 kB / 0.6876 GB, free: 5.695 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.1908, allocations: 2.286 MB / 0.6898 GB, free: 3.379 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1908, allocations: 0 / 0.6898 GB, free: 3.379 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.1924, allocations: 1.265 MB / 0.6911 GB, free: 2.109 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.1931, allocations: 204.3 kB / 0.6913 GB, free: 1.906 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/0.1997, allocations: 5.472 MB / 0.6966 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.2003, allocations: 1.155 MB / 0.6977 GB, free: 11.21 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001578/0.2019, allocations: 0.7317 MB / 0.6985 GB, free: 10.47 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/0.2024, allocations: 167.4 kB / 0.6986 GB, free: 10.31 MB / 0.5452 GB Notification: Performance of SimCode: time 5.91e-07/0.2025, allocations: 0 / 0.6986 GB, free: 10.31 MB / 0.5452 GB Notification: Performance of Templates: time 0.03047/0.2329, allocations: 19.82 MB / 0.718 GB, free: 6.547 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