Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.00135/0.00135, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001578/0.001578, allocations: 209.5 kB / 23.74 MB, free: 4.66 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.387/1.387, allocations: 230.6 MB / 257.5 MB, free: 7.992 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 / 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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) [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.00198/0.00198, allocations: 62.25 kB / 0.6067 GB, free: 10.95 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1671, allocations: 85.87 MB / 0.6906 GB, free: 4.875 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001704/0.1688, allocations: 424.8 kB / 0.691 GB, free: 4.465 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005551/0.1693, allocations: 239 kB / 0.6912 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.1694, allocations: 4 kB / 0.6912 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.1694, allocations: 0 / 0.6912 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1695, allocations: 7.938 kB / 0.6912 GB, free: 4.223 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1697, allocations: 27.91 kB / 0.6913 GB, free: 4.195 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.1697, allocations: 8 kB / 0.6913 GB, free: 4.188 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.1698, allocations: 7.984 kB / 0.6913 GB, free: 4.18 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.1698, allocations: 7.875 kB / 0.6913 GB, free: 4.172 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.1699, allocations: 4 kB / 0.6913 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1699, allocations: 0 / 0.6913 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.17, allocations: 31.97 kB / 0.6913 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.17, allocations: 3.984 kB / 0.6913 GB, free: 4.133 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.17, allocations: 3.938 kB / 0.6913 GB, free: 4.129 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1701, allocations: 36.12 kB / 0.6914 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1701, allocations: 0 / 0.6914 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1701, allocations: 0 / 0.6914 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.1702, allocations: 0 / 0.6914 GB, free: 4.094 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.0003931/0.1705, allocations: 250.3 kB / 0.6916 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1706, allocations: 8.031 kB / 0.6916 GB, free: 3.809 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.1706, allocations: 34.75 kB / 0.6916 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1707, allocations: 0.9375 kB / 0.6916 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1708, allocations: 110.5 kB / 0.6917 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1708, allocations: 8.375 kB / 0.6917 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1708, allocations: 4.375 kB / 0.6917 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1709, allocations: 34.25 kB / 0.6918 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1709, allocations: 7.875 kB / 0.6918 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1709, allocations: 0 / 0.6918 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1709, allocations: 0 / 0.6918 GB, free: 3.574 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.171, allocations: 15.98 kB / 0.6918 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1712, allocations: 124.8 kB / 0.6919 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1714, allocations: 46.5 kB / 0.692 GB, free: 3.34 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.1714, allocations: 8.922 kB / 0.692 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1714, allocations: 0 / 0.692 GB, free: 3.328 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1715, allocations: 34.5 kB / 0.692 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1715, allocations: 0 / 0.692 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001589/0.1716, allocations: 57.7 kB / 0.6921 GB, free: 3.223 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.1717, allocations: 51.41 kB / 0.6921 GB, free: 3.16 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.1717, allocations: 97.86 kB / 0.6922 GB, free: 3.055 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1718, allocations: 29.7 kB / 0.6922 GB, free: 3.02 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.1718, allocations: 80.14 kB / 0.6923 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1718, allocations: 11.91 kB / 0.6923 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.1719, allocations: 17.7 kB / 0.6923 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.172, allocations: 310.8 kB / 0.6926 GB, free: 2.59 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.172, allocations: 8 kB / 0.6926 GB, free: 2.582 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.172, allocations: 7.984 kB / 0.6927 GB, free: 2.574 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/0.1721, allocations: 33.12 kB / 0.6927 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1721, allocations: 0 / 0.6927 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.002e-05/0.1722, allocations: 53.69 kB / 0.6927 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1722, allocations: 7.938 kB / 0.6927 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1722, allocations: 0 / 0.6927 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1722, allocations: 0 / 0.6927 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.1722, allocations: 11.98 kB / 0.6928 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1723, allocations: 0 / 0.6928 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.1723, allocations: 0 / 0.6928 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1723, allocations: 4 kB / 0.6928 GB, free: 2.457 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 8.213e-05/0.1724, allocations: 117.7 kB / 0.6929 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1724, allocations: 3.938 kB / 0.6929 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.1725, allocations: 69.36 kB / 0.6929 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1725, allocations: 4 kB / 0.6929 GB, free: 2.246 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1725, allocations: 0 / 0.6929 GB, free: 2.246 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1725, allocations: 0 / 0.6929 GB, free: 2.246 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1727, allocations: 140.8 kB / 0.6931 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1727, allocations: 0 / 0.6931 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.1727, allocations: 12 kB / 0.6931 GB, free: 2.055 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1727, allocations: 3.938 kB / 0.6931 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1727, allocations: 3.984 kB / 0.6931 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1727, allocations: 0 / 0.6931 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1727, allocations: 0 / 0.6931 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1729, allocations: 105 kB / 0.6932 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.1729, allocations: 0 / 0.6932 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.1729, allocations: 3.938 kB / 0.6932 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.173, allocations: 8.047 kB / 0.6932 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.173, allocations: 7.969 kB / 0.6932 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.173, allocations: 4 kB / 0.6932 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.173, allocations: 79.28 kB / 0.6933 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.173, allocations: 0 / 0.6933 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001942/0.1732, allocations: 8 kB / 0.6933 GB, free: 1.816 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.000489/0.1737, allocations: 0.6514 MB / 0.6939 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1738, allocations: 27.94 kB / 0.694 GB, free: 1.105 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1738, allocations: 0 / 0.694 GB, free: 1.105 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.1738, allocations: 19.92 kB / 0.694 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.174, allocations: 4 kB / 0.694 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1751, allocations: 1.114 MB / 0.6951 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1754, allocations: 0.6807 MB / 0.6957 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.1754, allocations: 8 kB / 0.6957 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.1755, allocations: 11.44 kB / 0.6958 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of SimCode: time 3.91e-07/0.1755, allocations: 4 kB / 0.6958 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.2057, allocations: 1.632 MB / 0.6974 GB, free: 13.65 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.18, allocations: 8.562 kB / 0.6974 GB, free: 13.64 MB / 0.5295 GB " [Timeout remaining time 289] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(x) in file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv. Warning: Get data of variable der(x) from file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv failed! Error: Could not read variable p in file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv. Warning: Get data of variable p from file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv failed! Error: Could not read variable y in file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv. Warning: Get data of variable y from file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.177393199992366]