Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001709/0.001709, allocations: 109 kB / 21.22 MB, free: 0.7344 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.002102/0.002102, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.168/1.168, allocations: 120.6 MB / 435.3 MB, free: 0.8555 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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [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.001959/0.001959, allocations: 74.41 kB / 0.608 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1936, allocations: 85.86 MB / 0.6918 GB, free: 4.395 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001607/0.1952, allocations: 417.1 kB / 0.6922 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005796/0.1958, allocations: 243 kB / 0.6925 GB, free: 3.754 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.1958, allocations: 4 kB / 0.6925 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.1959, allocations: 0 / 0.6925 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.196, allocations: 3.938 kB / 0.6925 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.1962, allocations: 27.91 kB / 0.6925 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.1962, allocations: 11.98 kB / 0.6925 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.1963, allocations: 7.938 kB / 0.6925 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.1963, allocations: 0 / 0.6925 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.1964, allocations: 8 kB / 0.6925 GB, free: 3.691 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1964, allocations: 0 / 0.6925 GB, free: 3.691 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1965, allocations: 31.95 kB / 0.6926 GB, free: 3.66 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.1966, allocations: 7.938 kB / 0.6926 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.1966, allocations: 0 / 0.6926 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1967, allocations: 35.83 kB / 0.6926 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1967, allocations: 3.938 kB / 0.6926 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1967, allocations: 0 / 0.6926 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.1967, allocations: 0 / 0.6926 GB, free: 3.613 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004777/0.1972, allocations: 254.3 kB / 0.6929 GB, free: 3.332 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1972, allocations: 8.031 kB / 0.6929 GB, free: 3.324 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.1973, allocations: 4.938 kB / 0.6929 GB, free: 3.32 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1974, allocations: 106.5 kB / 0.693 GB, free: 3.191 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1974, allocations: 384 / 0.693 GB, free: 3.191 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1974, allocations: 4.375 kB / 0.693 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1976, allocations: 38.25 kB / 0.693 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1976, allocations: 4.172 kB / 0.693 GB, free: 3.141 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1976, allocations: 3.938 kB / 0.693 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1976, allocations: 0 / 0.693 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.1976, allocations: 11.98 kB / 0.693 GB, free: 3.125 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1978, allocations: 128.7 kB / 0.6931 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1981, allocations: 42.56 kB / 0.6932 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.1981, allocations: 8.859 kB / 0.6932 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1981, allocations: 4.062 kB / 0.6932 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1982, allocations: 30.56 kB / 0.6932 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1982, allocations: 7.938 kB / 0.6932 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001798/0.1983, allocations: 57.64 kB / 0.6933 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1984, allocations: 55.41 kB / 0.6933 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.1985, allocations: 89.86 kB / 0.6934 GB, free: 2.617 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1985, allocations: 25.7 kB / 0.6935 GB, free: 2.586 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.1985, allocations: 84.14 kB / 0.6935 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1986, allocations: 11.91 kB / 0.6935 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1986, allocations: 21.83 kB / 0.6936 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1988, allocations: 314.8 kB / 0.6939 GB, free: 2.145 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.1988, allocations: 7.938 kB / 0.6939 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.1988, allocations: 11.98 kB / 0.6939 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.1989, allocations: 16.86 kB / 0.6939 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1989, allocations: 0 / 0.6939 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.737e-05/0.199, allocations: 53.62 kB / 0.694 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.199, allocations: 4 kB / 0.694 GB, free: 2.043 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.199, allocations: 3.938 kB / 0.694 GB, free: 2.039 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.199, allocations: 4 kB / 0.694 GB, free: 2.035 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.1991, allocations: 15.98 kB / 0.694 GB, free: 2.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1991, allocations: 0 / 0.694 GB, free: 2.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1991, allocations: 0 / 0.694 GB, free: 2.02 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1991, allocations: 0 / 0.694 GB, free: 2.02 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 (4): * Single equations (assignments): 4 * 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.0001001/0.1992, allocations: 117.8 kB / 0.6941 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.1992, allocations: 0 / 0.6941 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.1994, allocations: 77.23 kB / 0.6942 GB, free: 1.809 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1994, allocations: 4 kB / 0.6942 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1994, allocations: 0 / 0.6942 GB, free: 1.805 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1994, allocations: 4 kB / 0.6942 GB, free: 1.801 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1995, allocations: 128.7 kB / 0.6943 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1995, allocations: 4 kB / 0.6943 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.1996, allocations: 8 kB / 0.6943 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1996, allocations: 336 / 0.6943 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1996, allocations: 11.92 kB / 0.6943 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1996, allocations: 0 / 0.6943 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1996, allocations: 0 / 0.6943 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1998, allocations: 97.06 kB / 0.6944 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.1998, allocations: 8.016 kB / 0.6944 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1998, allocations: 7.938 kB / 0.6944 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.1998, allocations: 0 / 0.6944 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1998, allocations: 7.984 kB / 0.6944 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1998, allocations: 0 / 0.6944 GB, free: 1.473 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.1999, allocations: 79.28 kB / 0.6945 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.1999, allocations: 0 / 0.6945 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002065/0.2001, allocations: 20.09 kB / 0.6945 GB, free: 1.375 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0001588/0.2002, allocations: 111.1 kB / 0.6946 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2003, allocations: 19.98 kB / 0.6947 GB, free: 1.234 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2004, allocations: 4 kB / 0.6947 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.2004, allocations: 20.06 kB / 0.6947 GB, free: 1.211 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.2005, allocations: 4 kB / 0.6947 GB, free: 1.207 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.2009, allocations: 133.5 kB / 0.6948 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.2012, allocations: 0.6807 MB / 0.6955 GB, free: 352 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.2012, allocations: 4 kB / 0.6955 GB, free: 348 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.2013, allocations: 11.44 kB / 0.6955 GB, free: 336 kB / 0.5139 GB Notification: Performance of SimCode: time 4.91e-07/0.2013, allocations: 0 / 0.6955 GB, free: 336 kB / 0.5139 GB Notification: Performance of Templates: time 0.003426/0.2047, allocations: 0.644 MB / 0.6961 GB, free: 15.69 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.126327147008851]