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.001281/0.001281, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001274/0.001274, allocations: 192.7 kB / 18 MB, free: 4.977 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.46/1.46, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.119/1.119, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.28 kB / 0.5724 GB, free: 38.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1827, 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_5): time 0.002531/0.1853, allocations: 1.378 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.1862, allocations: 0.5184 MB / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.1863, allocations: 0 / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.1864, allocations: 11.92 kB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.1867, allocations: 55.73 kB / 0.6531 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.1868, allocations: 31.89 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1871, allocations: 195.5 kB / 0.6533 GB, free: 9.398 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.1871, allocations: 12.12 kB / 0.6533 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1873, allocations: 79.8 kB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1875, allocations: 103.8 kB / 0.6535 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1875, allocations: 8 kB / 0.6535 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.1876, allocations: 23.98 kB / 0.6535 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1878, allocations: 67.84 kB / 0.6536 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.82e-05/0.1878, allocations: 71.64 kB / 0.6537 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1881, allocations: 139.5 kB / 0.6538 GB, free: 8.902 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1881, allocations: 8 kB / 0.6538 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1881, allocations: 0 / 0.6538 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1881, allocations: 4 kB / 0.6538 GB, free: 8.891 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.0008752/0.189, allocations: 467.2 kB / 0.6542 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.189, allocations: 15.97 kB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.1891, allocations: 12.84 kB / 0.6543 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1893, allocations: 223.7 kB / 0.6545 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1894, allocations: 8.234 kB / 0.6545 GB, free: 8.09 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1894, allocations: 12 kB / 0.6545 GB, free: 8.078 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.1897, allocations: 187.3 kB / 0.6547 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1898, allocations: 0 / 0.6547 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.1898, allocations: 4 kB / 0.6547 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1898, allocations: 4 kB / 0.6547 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.19, allocations: 144.6 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.1904, allocations: 282.3 kB / 0.6551 GB, free: 7.418 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009638/0.1914, allocations: 362.7 kB / 0.6554 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.1916, allocations: 120.8 kB / 0.6556 GB, free: 6.934 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.1917, allocations: 93.09 kB / 0.6556 GB, free: 6.824 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1918, allocations: 34.55 kB / 0.6557 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.1918, allocations: 0 / 0.6557 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.000647/0.1924, allocations: 374 kB / 0.656 GB, free: 6.41 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1925, allocations: 55.41 kB / 0.6561 GB, free: 6.344 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1926, allocations: 140.8 kB / 0.6562 GB, free: 6.199 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1927, allocations: 29.7 kB / 0.6563 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1927, allocations: 96.7 kB / 0.6563 GB, free: 6.066 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1928, allocations: 102.5 kB / 0.6564 GB, free: 5.965 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.1929, allocations: 62.02 kB / 0.6565 GB, free: 5.895 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1931, allocations: 330.8 kB / 0.6568 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1933, allocations: 124.6 kB / 0.6569 GB, free: 5.441 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.1934, allocations: 129.2 kB / 0.6571 GB, free: 5.316 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.1939, allocations: 275 kB / 0.6573 GB, free: 5.047 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1939, allocations: 0 / 0.6573 GB, free: 5.047 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004955/0.1944, allocations: 361.1 kB / 0.6577 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1944, allocations: 8 kB / 0.6577 GB, free: 4.68 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1944, allocations: 0 / 0.6577 GB, free: 4.68 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1944, allocations: 4 kB / 0.6577 GB, free: 4.676 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.1947, allocations: 71.91 kB / 0.6577 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.1948, allocations: 7.984 kB / 0.6578 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1949, allocations: 15.84 kB / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1949, allocations: 15.98 kB / 0.6578 GB, free: 4.566 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.0001179/0.195, allocations: 134.6 kB / 0.6579 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1951, allocations: 15.81 kB / 0.6579 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.1957, allocations: 403.4 kB / 0.6583 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1958, allocations: 7.984 kB / 0.6583 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1958, allocations: 3.938 kB / 0.6583 GB, free: 3.992 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1958, allocations: 0 / 0.6583 GB, free: 3.992 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1961, allocations: 309.3 kB / 0.6586 GB, free: 3.641 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1961, allocations: 7.938 kB / 0.6586 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.1965, allocations: 87.89 kB / 0.6587 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1965, allocations: 4 kB / 0.6587 GB, free: 3.543 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.1966, allocations: 8 kB / 0.6587 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1966, allocations: 7.938 kB / 0.6587 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1966, allocations: 0 / 0.6587 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.1974, allocations: 0.5374 MB / 0.6593 GB, free: 2.969 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1975, allocations: 128.7 kB / 0.6594 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1976, allocations: 12 kB / 0.6594 GB, free: 2.812 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1977, allocations: 12 kB / 0.6594 GB, free: 2.801 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1977, allocations: 19.97 kB / 0.6594 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.1978, allocations: 15.98 kB / 0.6594 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.1979, allocations: 99.27 kB / 0.6595 GB, free: 2.668 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1979, allocations: 0 / 0.6595 GB, free: 2.668 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002663/0.1981, allocations: 68 kB / 0.6596 GB, free: 2.602 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.0001871/0.1983, allocations: 115.7 kB / 0.6597 GB, free: 2.48 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.1988, allocations: 315.9 kB / 0.66 GB, free: 2.172 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1988, allocations: 3.938 kB / 0.66 GB, free: 2.168 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1991, allocations: 167.8 kB / 0.6602 GB, free: 2.004 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1993, allocations: 31.98 kB / 0.6602 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2006, allocations: 0.8393 MB / 0.661 GB, free: 1.109 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.201, allocations: 0.7449 MB / 0.6617 GB, free: 344 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.2012, allocations: 89.84 kB / 0.6618 GB, free: 252 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.2013, allocations: 31.44 kB / 0.6619 GB, free: 220 kB / 0.4983 GB Notification: Performance of SimCode: time 3.21e-07/0.2013, allocations: 0 / 0.6619 GB, free: 220 kB / 0.4983 GB Notification: Performance of Templates: time 0.006057/0.2073, allocations: 3.048 MB / 0.6648 GB, free: 13.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/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