Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 109.5 kB / 17.06 MB, free: 6.016 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.001301/0.001301, allocations: 192.7 kB / 18 MB, free: 5.102 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.068/1.068, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.72 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.188, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00168/0.1897, allocations: 397 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002166/0.19, allocations: 31.88 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.19, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.19, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.1901, allocations: 4 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1903, allocations: 8 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.1903, allocations: 3.938 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.1904, allocations: 7.938 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.1904, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.1905, allocations: 7.969 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1905, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.1906, allocations: 12 kB / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.1906, allocations: 0 / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.1906, allocations: 0 / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.097e-05/0.1907, allocations: 7.984 kB / 0.6501 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1907, allocations: 7.938 kB / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1907, allocations: 0 / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1907, allocations: 0 / 0.6502 GB, free: 12.59 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003154/0.191, allocations: 323.5 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1911, allocations: 12.03 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.1911, allocations: 4.891 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.85e-05/0.1912, allocations: 160.4 kB / 0.6506 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1912, allocations: 384 / 0.6506 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.1913, allocations: 384 / 0.6506 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1914, allocations: 38.25 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1914, allocations: 4.125 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1914, allocations: 3.938 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1914, allocations: 4 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.1914, allocations: 4 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1916, allocations: 145.7 kB / 0.6508 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.1917, allocations: 26.59 kB / 0.6508 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.1917, allocations: 12.92 kB / 0.6509 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.1919, allocations: 81.11 kB / 0.6509 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.192, allocations: 34.55 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.192, allocations: 0 / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001475/0.1921, allocations: 49.58 kB / 0.651 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1922, allocations: 51.41 kB / 0.6511 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/0.1922, allocations: 89.86 kB / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1922, allocations: 29.83 kB / 0.6512 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.1923, allocations: 80.14 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1923, allocations: 3.953 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1923, allocations: 21.7 kB / 0.6513 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1925, allocations: 310.8 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.1925, allocations: 4 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.1925, allocations: 0 / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.1925, allocations: 20.86 kB / 0.6516 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1925, allocations: 0 / 0.6516 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.428e-05/0.1926, allocations: 41.67 kB / 0.6516 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1926, allocations: 8 kB / 0.6516 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1926, allocations: 3.984 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1926, allocations: 7.875 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.934e-05/0.1927, allocations: 4 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1927, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.1927, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1927, allocations: 4 kB / 0.6517 GB, free: 10.79 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 (2): * Single equations (assignments): 2 * 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 6.252e-05/0.1928, allocations: 110.8 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.1928, allocations: 4 kB / 0.6518 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1929, allocations: 48.69 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.193, allocations: 4 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.193, allocations: 0 / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.193, allocations: 3.938 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1931, allocations: 157.6 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1931, allocations: 0 / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.1931, allocations: 8.031 kB / 0.652 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1931, allocations: 0 / 0.652 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1931, allocations: 3.938 kB / 0.652 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1931, allocations: 4 kB / 0.652 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1931, allocations: 0 / 0.652 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.1932, allocations: 65.06 kB / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.1933, allocations: 77.11 kB / 0.6521 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1933, allocations: 11.97 kB / 0.6521 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1933, allocations: 0 / 0.6521 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1933, allocations: 4 kB / 0.6521 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1933, allocations: 0 / 0.6521 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.1934, allocations: 75.28 kB / 0.6522 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1934, allocations: 0 / 0.6522 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001895/0.1936, allocations: 4 kB / 0.6522 GB, free: 10.12 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001139/0.1937, allocations: 99.7 kB / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.1938, allocations: 12 kB / 0.6523 GB, free: 10 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1938, allocations: 0 / 0.6523 GB, free: 10 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.1938, allocations: 11.94 kB / 0.6523 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1939, allocations: 0 / 0.6523 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.1941, allocations: 88.95 kB / 0.6524 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1944, allocations: 0.6766 MB / 0.6531 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.1944, allocations: 128 / 0.6531 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.1944, allocations: 19.38 kB / 0.6531 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of SimCode: time 2.3e-07/0.1944, allocations: 0 / 0.6531 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of Templates: time 0.002144/0.1966, allocations: 286.8 kB / 0.6534 GB, free: 8.879 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches