Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 113.3 kB / 17.06 MB, free: 5.965 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.001547/0.001547, allocations: 200 kB / 18.01 MB, free: 5.047 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.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.117/1.117, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 66.64 kB / 0.5724 GB, free: 38.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1755, allocations: 80.68 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002557/0.1781, allocations: 1.39 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.1791, allocations: 0.5146 MB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.1791, allocations: 0 / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.1792, allocations: 15.92 kB / 0.653 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1795, allocations: 51.73 kB / 0.6531 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.1797, allocations: 35.89 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.1799, allocations: 199.4 kB / 0.6533 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.18, allocations: 4.188 kB / 0.6533 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1801, allocations: 79.8 kB / 0.6534 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1804, allocations: 99.75 kB / 0.6535 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.1804, allocations: 8 kB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1805, allocations: 31.98 kB / 0.6535 GB, free: 9.129 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1806, allocations: 63.84 kB / 0.6536 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1807, allocations: 67.66 kB / 0.6537 GB, free: 9 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.181, allocations: 143.4 kB / 0.6538 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.181, allocations: 0 / 0.6538 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.593e-06/0.181, allocations: 0 / 0.6538 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.181, allocations: 0 / 0.6538 GB, free: 8.859 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008834/0.1819, allocations: 478.9 kB / 0.6543 GB, free: 8.34 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1819, allocations: 11.89 kB / 0.6543 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.182, allocations: 20.88 kB / 0.6543 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1823, allocations: 219.9 kB / 0.6545 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1823, allocations: 12.23 kB / 0.6545 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1824, allocations: 12 kB / 0.6545 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.1827, allocations: 179.4 kB / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1827, allocations: 0 / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1827, allocations: 4 kB / 0.6547 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1828, allocations: 11.98 kB / 0.6547 GB, free: 7.836 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.183, allocations: 144.5 kB / 0.6548 GB, free: 7.695 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.1834, allocations: 290.3 kB / 0.6551 GB, free: 7.363 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.1844, allocations: 354.7 kB / 0.6555 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.1846, allocations: 120.8 kB / 0.6556 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.1848, allocations: 101 kB / 0.6557 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1848, allocations: 30.56 kB / 0.6557 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.1848, allocations: 0 / 0.6557 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0007173/0.1856, allocations: 378.1 kB / 0.6561 GB, free: 6.355 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1856, allocations: 59.34 kB / 0.6561 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1858, allocations: 132.8 kB / 0.6562 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1858, allocations: 33.7 kB / 0.6563 GB, free: 6.109 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.1859, allocations: 88.69 kB / 0.6564 GB, free: 6.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.186, allocations: 123 kB / 0.6565 GB, free: 5.898 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1861, allocations: 62.02 kB / 0.6565 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1863, allocations: 334.8 kB / 0.6569 GB, free: 5.492 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.1865, allocations: 116.6 kB / 0.657 GB, free: 5.379 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1867, allocations: 133.2 kB / 0.6571 GB, free: 5.25 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.1871, allocations: 275 kB / 0.6574 GB, free: 4.98 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1871, allocations: 4 kB / 0.6574 GB, free: 4.977 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005659/0.1877, allocations: 357.2 kB / 0.6577 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1877, allocations: 4 kB / 0.6577 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1877, allocations: 8 kB / 0.6577 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1878, allocations: 0 / 0.6577 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.1881, allocations: 75.91 kB / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1881, allocations: 0 / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1882, allocations: 19.84 kB / 0.6578 GB, free: 4.516 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.1882, allocations: 11.98 kB / 0.6578 GB, free: 4.504 MB / 0.4983 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 (39): * Single equations (assignments): 39 * 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.0001459/0.1884, allocations: 142.6 kB / 0.658 GB, free: 4.355 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1884, allocations: 15.91 kB / 0.658 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007475/0.1892, allocations: 399.4 kB / 0.6583 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1892, allocations: 4 kB / 0.6584 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1892, allocations: 4 kB / 0.6584 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1892, allocations: 0 / 0.6584 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.1896, allocations: 313.3 kB / 0.6587 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1896, allocations: 0 / 0.6587 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.19, allocations: 91.89 kB / 0.6587 GB, free: 3.484 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.19, allocations: 0 / 0.6587 GB, free: 3.484 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.1901, allocations: 12 kB / 0.6588 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1901, allocations: 0 / 0.6588 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1901, allocations: 0 / 0.6588 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/0.191, allocations: 0.5337 MB / 0.6593 GB, free: 2.918 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.1911, allocations: 128.8 kB / 0.6594 GB, free: 2.773 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.1912, allocations: 11.98 kB / 0.6594 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1913, allocations: 20 kB / 0.6594 GB, free: 2.742 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1913, allocations: 19.97 kB / 0.6594 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.1914, allocations: 12 kB / 0.6595 GB, free: 2.711 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.1915, allocations: 107.1 kB / 0.6596 GB, free: 2.605 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1915, allocations: 0 / 0.6596 GB, free: 2.605 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002898/0.1918, allocations: 68 kB / 0.6596 GB, free: 2.539 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001917/0.1919, allocations: 115.7 kB / 0.6597 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.1925, allocations: 311.9 kB / 0.66 GB, free: 2.113 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1925, allocations: 0 / 0.66 GB, free: 2.113 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1928, allocations: 167.8 kB / 0.6602 GB, free: 1.949 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.193, allocations: 35.64 kB / 0.6602 GB, free: 1.918 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1945, allocations: 0.8657 MB / 0.6611 GB, free: 1.027 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1949, allocations: 0.7449 MB / 0.6618 GB, free: 260 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.1951, allocations: 85.86 kB / 0.6619 GB, free: 172 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.1952, allocations: 35.42 kB / 0.6619 GB, free: 136 kB / 0.4983 GB Notification: Performance of SimCode: time 2.425e-06/0.1952, allocations: 112 / 0.6619 GB, free: 136 kB / 0.4983 GB Notification: Performance of Templates: time 0.007051/0.2023, allocations: 3.042 MB / 0.6649 GB, free: 13.13 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches