Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.017/1.017, allocations: 120.6 MB / 435.2 MB, free: 0.668 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 0.6079 GB, free: 10.29 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 85.87 MB / 0.6917 GB, free: 4.211 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001553/0.1771, allocations: 388.6 kB / 0.6921 GB, free: 3.836 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.1773, allocations: 35.89 kB / 0.6921 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.1773, allocations: 0 / 0.6921 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.1773, allocations: 3.938 kB / 0.6921 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.1774, allocations: 0 / 0.6921 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.1776, allocations: 7.984 kB / 0.6922 GB, free: 3.789 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.1776, allocations: 3.984 kB / 0.6922 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1776, allocations: 4 kB / 0.6922 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.379e-05/0.1777, allocations: 3.938 kB / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.1777, allocations: 0 / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1777, allocations: 0 / 0.6922 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.1778, allocations: 19.98 kB / 0.6922 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.1778, allocations: 0 / 0.6922 GB, free: 3.758 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.1778, allocations: 3.938 kB / 0.6922 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.662e-05/0.1779, allocations: 11.92 kB / 0.6922 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1779, allocations: 0 / 0.6922 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1779, allocations: 0 / 0.6922 GB, free: 3.742 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1779, allocations: 0 / 0.6922 GB, free: 3.742 MB / 0.5139 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.0003318/0.1782, allocations: 246.4 kB / 0.6924 GB, free: 3.469 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1783, allocations: 8.031 kB / 0.6924 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.1783, allocations: 0.9375 kB / 0.6924 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.1784, allocations: 102.5 kB / 0.6925 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1784, allocations: 12.31 kB / 0.6925 GB, free: 3.324 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.1784, allocations: 384 / 0.6925 GB, free: 3.324 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1786, allocations: 34.25 kB / 0.6926 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1786, allocations: 192 / 0.6926 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1786, allocations: 7.938 kB / 0.6926 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1786, allocations: 0 / 0.6926 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.1786, allocations: 4 kB / 0.6926 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1788, allocations: 97.27 kB / 0.6927 GB, free: 3.148 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.1788, allocations: 30.59 kB / 0.6927 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.1789, allocations: 8.859 kB / 0.6927 GB, free: 3.098 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.1791, allocations: 8.062 kB / 0.6927 GB, free: 3.09 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1791, allocations: 30.56 kB / 0.6928 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1791, allocations: 0 / 0.6928 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.000169/0.1793, allocations: 49.56 kB / 0.6928 GB, free: 2.996 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1793, allocations: 55.41 kB / 0.6929 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.1794, allocations: 89.86 kB / 0.6929 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1794, allocations: 25.7 kB / 0.693 GB, free: 2.801 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.1794, allocations: 80.14 kB / 0.693 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1795, allocations: 8.016 kB / 0.6931 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1795, allocations: 21.72 kB / 0.6931 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1797, allocations: 314.8 kB / 0.6934 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.1797, allocations: 4 kB / 0.6934 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-06/0.1797, allocations: 0 / 0.6934 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.1797, allocations: 12.86 kB / 0.6934 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1797, allocations: 0 / 0.6934 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.816e-05/0.1798, allocations: 37.64 kB / 0.6934 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1798, allocations: 11.98 kB / 0.6934 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1798, allocations: 0 / 0.6934 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1798, allocations: 4.094 kB / 0.6934 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.1799, allocations: 7.938 kB / 0.6935 GB, free: 2.281 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1799, allocations: 0 / 0.6935 GB, free: 2.281 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.1799, allocations: 4 kB / 0.6935 GB, free: 2.277 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.1799, allocations: 0 / 0.6935 GB, free: 2.277 MB / 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 (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 8.27e-05/0.18, allocations: 113.8 kB / 0.6936 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.18, allocations: 0 / 0.6936 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.1801, allocations: 48.8 kB / 0.6936 GB, free: 2.102 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1801, allocations: 11.81 kB / 0.6936 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1801, allocations: 4.031 kB / 0.6936 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1801, allocations: 0 / 0.6936 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.603e-05/0.1802, allocations: 97.33 kB / 0.6937 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1802, allocations: 4 kB / 0.6937 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.1802, allocations: 3.984 kB / 0.6937 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1802, allocations: 4 kB / 0.6937 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1802, allocations: 0 / 0.6937 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1802, allocations: 0 / 0.6937 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1803, allocations: 3.938 kB / 0.6937 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.1803, allocations: 61.09 kB / 0.6938 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.1804, allocations: 16.02 kB / 0.6938 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.1804, allocations: 0 / 0.6938 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.1804, allocations: 0 / 0.6938 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1804, allocations: 3.938 kB / 0.6938 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1804, allocations: 7.984 kB / 0.6938 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.1804, allocations: 75.28 kB / 0.6939 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1804, allocations: 3.938 kB / 0.6939 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001827/0.1806, allocations: 0 / 0.6939 GB, free: 1.762 MB / 0.5139 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.0001398/0.1808, allocations: 95.25 kB / 0.694 GB, free: 1.656 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.1808, allocations: 11.98 kB / 0.694 GB, free: 1.645 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1808, allocations: 4 kB / 0.694 GB, free: 1.641 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.1808, allocations: 4 kB / 0.694 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.181, allocations: 4 kB / 0.694 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.1812, allocations: 110.7 kB / 0.6941 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.578e-05/0.1813, allocations: 59.34 kB / 0.6942 GB, free: 1.414 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.1813, allocations: 7.438 kB / 0.6942 GB, free: 1.406 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.1813, allocations: 3.938 kB / 0.6942 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of Templates: time 0.002134/0.1834, allocations: 447.4 kB / 0.6946 GB, free: 0.9688 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.861025075893849]