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.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.001406/0.001406, allocations: 105.9 kB / 20.43 MB, free: 1.477 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.001562/0.001562, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.113/1.113, allocations: 120.6 MB / 434.5 MB, free: 0.832 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_noopt_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_noopt_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.002001/0.002001, allocations: 67.89 kB / 0.6072 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1976, allocations: 85.87 MB / 0.6911 GB, free: 4.395 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001479/0.1991, allocations: 405.2 kB / 0.6915 GB, free: 4 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002216/0.1993, allocations: 27.19 kB / 0.6915 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1993, allocations: 3.938 kB / 0.6915 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1994, allocations: 4 kB / 0.6915 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.1994, allocations: 3.938 kB / 0.6915 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1996, allocations: 0 / 0.6915 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.676e-05/0.1996, allocations: 4 kB / 0.6915 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.1997, allocations: 7.984 kB / 0.6915 GB, free: 3.953 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1997, allocations: 8 kB / 0.6915 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.1997, allocations: 0 / 0.6915 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1997, allocations: 0 / 0.6915 GB, free: 3.945 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1998, allocations: 4 kB / 0.6915 GB, free: 3.941 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1998, allocations: 7.969 kB / 0.6915 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1998, allocations: 11.88 kB / 0.6915 GB, free: 3.922 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.102e-05/0.1999, allocations: 8 kB / 0.6916 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1999, allocations: 0 / 0.6916 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1999, allocations: 0 / 0.6916 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1999, allocations: 4 kB / 0.6916 GB, free: 3.91 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.0003098/0.2002, allocations: 238.4 kB / 0.6918 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2003, allocations: 8.031 kB / 0.6918 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.2003, allocations: 0.9375 kB / 0.6918 GB, free: 3.637 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.2004, allocations: 106.5 kB / 0.6919 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2004, allocations: 4.375 kB / 0.6919 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2004, allocations: 384 / 0.6919 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2005, allocations: 34.25 kB / 0.6919 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2005, allocations: 192 / 0.6919 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2006, allocations: 7.938 kB / 0.6919 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2006, allocations: 0 / 0.6919 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.2006, allocations: 7.938 kB / 0.6919 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2008, allocations: 124.8 kB / 0.6921 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.11e-05/0.2008, allocations: 22.59 kB / 0.6921 GB, free: 3.254 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.2008, allocations: 8.859 kB / 0.6921 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.201, allocations: 8.062 kB / 0.6921 GB, free: 3.234 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2011, allocations: 38.55 kB / 0.6921 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2011, allocations: 0 / 0.6921 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.2012, allocations: 49.52 kB / 0.6922 GB, free: 3.133 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2013, allocations: 55.41 kB / 0.6922 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.2013, allocations: 89.86 kB / 0.6923 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2013, allocations: 25.7 kB / 0.6923 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.2014, allocations: 80.14 kB / 0.6924 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.2014, allocations: 12.02 kB / 0.6924 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2014, allocations: 17.7 kB / 0.6925 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2016, allocations: 314.8 kB / 0.6928 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.2016, allocations: 0 / 0.6928 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.2016, allocations: 4 kB / 0.6928 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.2017, allocations: 8.859 kB / 0.6928 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2017, allocations: 3.938 kB / 0.6928 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.003e-05/0.2017, allocations: 49.69 kB / 0.6928 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2017, allocations: 4 kB / 0.6928 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2017, allocations: 4 kB / 0.6928 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2018, allocations: 3.938 kB / 0.6928 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.2018, allocations: 0 / 0.6928 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2018, allocations: 4 kB / 0.6928 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.2018, allocations: 0 / 0.6928 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.2018, allocations: 0 / 0.6928 GB, free: 2.414 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 9.091e-05/0.2019, allocations: 105.8 kB / 0.6929 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.2019, allocations: 4.031 kB / 0.6929 GB, free: 2.297 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2021, allocations: 56.67 kB / 0.693 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2021, allocations: 0 / 0.693 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2021, allocations: 4 kB / 0.693 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2021, allocations: 0 / 0.693 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.2022, allocations: 120.8 kB / 0.6931 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2022, allocations: 0 / 0.6931 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.2022, allocations: 4 kB / 0.6931 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2022, allocations: 0 / 0.6931 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2022, allocations: 7.938 kB / 0.6931 GB, free: 2.059 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2022, allocations: 8.031 kB / 0.6931 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2022, allocations: 0 / 0.6931 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.093e-05/0.2023, allocations: 65.08 kB / 0.6932 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.2023, allocations: 0 / 0.6932 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2023, allocations: 3.938 kB / 0.6932 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.2023, allocations: 3.938 kB / 0.6932 GB, free: 1.961 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.2023, allocations: 4 kB / 0.6932 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2023, allocations: 4.031 kB / 0.6932 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.2024, allocations: 79.22 kB / 0.6933 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.2024, allocations: 0 / 0.6933 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001942/0.2026, allocations: 8 kB / 0.6933 GB, free: 1.867 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.0001347/0.2027, allocations: 95.23 kB / 0.6934 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.2028, allocations: 8 kB / 0.6934 GB, free: 1.754 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2028, allocations: 0 / 0.6934 GB, free: 1.754 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.2028, allocations: 4.062 kB / 0.6934 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.2029, allocations: 4.062 kB / 0.6934 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.2032, allocations: 88.98 kB / 0.6935 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.2035, allocations: 0.6729 MB / 0.6941 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.2035, allocations: 3.938 kB / 0.6941 GB, free: 0.9297 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.2036, allocations: 7.438 kB / 0.6941 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of SimCode: time 3.31e-07/0.2036, allocations: 3.938 kB / 0.6942 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of Templates: time 0.002616/0.2062, allocations: 306.5 kB / 0.6944 GB, free: 0.6211 MB / 0.5139 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 6.026195066006039]