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.00162/0.00162, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001983/0.001983, allocations: 210.1 kB / 23.74 MB, free: 4.672 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.391/1.391, 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 0.9799/0.9799, allocations: 120.6 MB / 434.5 MB, free: 0.8398 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.001905/0.001905, allocations: 71.89 kB / 0.6067 GB, free: 10.96 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1622, allocations: 85.85 MB / 0.6906 GB, free: 4.898 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001484/0.1637, allocations: 416.6 kB / 0.691 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0005141/0.1642, allocations: 247 kB / 0.6912 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1642, allocations: 0 / 0.6912 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1643, allocations: 0 / 0.6912 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1644, allocations: 7.938 kB / 0.6912 GB, free: 4.25 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.1645, allocations: 31.89 kB / 0.6913 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.1646, allocations: 7.938 kB / 0.6913 GB, free: 4.211 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.1646, allocations: 0 / 0.6913 GB, free: 4.211 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.1647, allocations: 7.984 kB / 0.6913 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.1647, allocations: 8 kB / 0.6913 GB, free: 4.195 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1647, allocations: 0 / 0.6913 GB, free: 4.195 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1648, allocations: 27.97 kB / 0.6913 GB, free: 4.168 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1648, allocations: 7.922 kB / 0.6913 GB, free: 4.16 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.1649, allocations: 4 kB / 0.6913 GB, free: 4.156 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.165, allocations: 32.12 kB / 0.6913 GB, free: 4.125 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.165, allocations: 7.922 kB / 0.6914 GB, free: 4.117 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.332e-06/0.165, allocations: 0 / 0.6914 GB, free: 4.117 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.165, allocations: 0 / 0.6914 GB, free: 4.117 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.0003872/0.1654, allocations: 250.3 kB / 0.6916 GB, free: 3.84 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1654, allocations: 8.031 kB / 0.6916 GB, free: 3.832 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.1654, allocations: 30.75 kB / 0.6916 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.1655, allocations: 8.938 kB / 0.6916 GB, free: 3.785 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1656, allocations: 110.5 kB / 0.6917 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1656, allocations: 384 / 0.6917 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1656, allocations: 4.375 kB / 0.6917 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.831e-05/0.1657, allocations: 34.25 kB / 0.6918 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1657, allocations: 3.938 kB / 0.6918 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1657, allocations: 4 kB / 0.6918 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1657, allocations: 0 / 0.6918 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.1658, allocations: 11.92 kB / 0.6918 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1659, allocations: 124.8 kB / 0.6919 GB, free: 3.426 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1662, allocations: 50.59 kB / 0.692 GB, free: 3.367 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.1662, allocations: 8.844 kB / 0.692 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1662, allocations: 4 kB / 0.692 GB, free: 3.352 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1662, allocations: 34.56 kB / 0.692 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1662, allocations: 0 / 0.692 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001564/0.1664, allocations: 57.66 kB / 0.6921 GB, free: 3.246 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1664, allocations: 55.41 kB / 0.6921 GB, free: 3.18 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.1665, allocations: 97.78 kB / 0.6922 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1665, allocations: 25.7 kB / 0.6922 GB, free: 3.043 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1666, allocations: 80.14 kB / 0.6923 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1666, allocations: 15.91 kB / 0.6923 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1666, allocations: 17.7 kB / 0.6923 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1668, allocations: 315 kB / 0.6926 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.1668, allocations: 8 kB / 0.6927 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.1668, allocations: 4 kB / 0.6927 GB, free: 2.594 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.1668, allocations: 24.84 kB / 0.6927 GB, free: 2.566 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1668, allocations: 4 kB / 0.6927 GB, free: 2.562 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.227e-05/0.1669, allocations: 53.62 kB / 0.6927 GB, free: 2.504 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1669, allocations: 7.938 kB / 0.6927 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1669, allocations: 0 / 0.6927 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.167, allocations: 0 / 0.6927 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.167, allocations: 8 kB / 0.6927 GB, free: 2.488 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.167, allocations: 4 kB / 0.6928 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.167, allocations: 0 / 0.6928 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.167, allocations: 3.984 kB / 0.6928 GB, free: 2.48 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 7.909e-05/0.1671, allocations: 117.8 kB / 0.6929 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.1671, allocations: 3.938 kB / 0.6929 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.1673, allocations: 77.28 kB / 0.6929 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1673, allocations: 0 / 0.6929 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1673, allocations: 0 / 0.6929 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1673, allocations: 8 kB / 0.693 GB, free: 2.258 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1674, allocations: 128.7 kB / 0.6931 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1674, allocations: 0 / 0.6931 GB, free: 2.09 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.1675, allocations: 12 kB / 0.6931 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1675, allocations: 3.938 kB / 0.6931 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1675, allocations: 0 / 0.6931 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1675, allocations: 0 / 0.6931 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1675, allocations: 0 / 0.6931 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1677, allocations: 105 kB / 0.6932 GB, free: 1.953 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.1677, allocations: 4.031 kB / 0.6932 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1677, allocations: 3.938 kB / 0.6932 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.1677, allocations: 4 kB / 0.6932 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1677, allocations: 11.92 kB / 0.6932 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1677, allocations: 4.062 kB / 0.6932 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.1678, allocations: 79.28 kB / 0.6933 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1678, allocations: 0 / 0.6933 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001853/0.1679, allocations: 8 kB / 0.6933 GB, free: 1.84 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.000474/0.1684, allocations: 0.6554 MB / 0.6939 GB, free: 1.152 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 9.532e-05/0.1685, allocations: 23.98 kB / 0.694 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1685, allocations: 0 / 0.694 GB, free: 1.129 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.1685, allocations: 15.98 kB / 0.694 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1687, allocations: 4 kB / 0.694 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1697, allocations: 1.126 MB / 0.6951 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.17, allocations: 0.6846 MB / 0.6958 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.17, allocations: 0 / 0.6958 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.17, allocations: 11.44 kB / 0.6958 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of SimCode: time 5.31e-07/0.17, allocations: 0 / 0.6958 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.1979, allocations: 1.633 MB / 0.6974 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.22, allocations: 7.609 kB / 0.6974 GB, free: 13.67 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.177967258001445]