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.001599/0.001599, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001848/0.001848, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9451/0.9451, allocations: 120.6 MB / 434.5 MB, free: 0.6562 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.001928/0.001928, allocations: 63.89 kB / 0.6067 GB, free: 10.79 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1515, allocations: 85.87 MB / 0.6905 GB, free: 4.711 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001506/0.153, allocations: 407.2 kB / 0.6909 GB, free: 4.32 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.1535, allocations: 227.7 kB / 0.6911 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.1536, allocations: 0 / 0.6911 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.1536, allocations: 4 kB / 0.6911 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1537, allocations: 4 kB / 0.6911 GB, free: 4.09 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.1538, allocations: 27.86 kB / 0.6912 GB, free: 4.062 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.1538, allocations: 11.92 kB / 0.6912 GB, free: 4.051 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1539, allocations: 7.984 kB / 0.6912 GB, free: 4.043 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.1539, allocations: 4 kB / 0.6912 GB, free: 4.039 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.154, allocations: 11.92 kB / 0.6912 GB, free: 4.027 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.154, allocations: 0 / 0.6912 GB, free: 4.027 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.1541, allocations: 19.98 kB / 0.6912 GB, free: 4.008 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1541, allocations: 4 kB / 0.6912 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.1541, allocations: 4 kB / 0.6912 GB, free: 4 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.859e-05/0.1542, allocations: 36.11 kB / 0.6913 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1542, allocations: 0 / 0.6913 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1542, allocations: 0 / 0.6913 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.1542, allocations: 0 / 0.6913 GB, free: 3.965 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.0003413/0.1545, allocations: 250.3 kB / 0.6915 GB, free: 3.688 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1546, allocations: 12.03 kB / 0.6915 GB, free: 3.676 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.1546, allocations: 34.69 kB / 0.6915 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.1546, allocations: 0.9375 kB / 0.6915 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.446e-05/0.1547, allocations: 110.5 kB / 0.6916 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1547, allocations: 16.38 kB / 0.6917 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1548, allocations: 384 / 0.6917 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1549, allocations: 34.25 kB / 0.6917 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.1549, allocations: 3.938 kB / 0.6917 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1549, allocations: 0 / 0.6917 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1549, allocations: 4 kB / 0.6917 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.155, allocations: 8 kB / 0.6917 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1552, allocations: 124.8 kB / 0.6918 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1554, allocations: 42.55 kB / 0.6919 GB, free: 3.215 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.1554, allocations: 8.922 kB / 0.6919 GB, free: 3.203 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.1554, allocations: 11.92 kB / 0.6919 GB, free: 3.191 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1555, allocations: 30.66 kB / 0.6919 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1555, allocations: 4 kB / 0.6919 GB, free: 3.148 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.1556, allocations: 61.55 kB / 0.692 GB, free: 3.082 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1557, allocations: 51.41 kB / 0.692 GB, free: 3.02 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.1557, allocations: 93.86 kB / 0.6921 GB, free: 2.918 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1557, allocations: 25.7 kB / 0.6921 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.1558, allocations: 80.14 kB / 0.6922 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1558, allocations: 19.89 kB / 0.6922 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.1558, allocations: 13.72 kB / 0.6922 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.156, allocations: 319 kB / 0.6926 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.156, allocations: 4 kB / 0.6926 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.156, allocations: 7.984 kB / 0.6926 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.156, allocations: 20.86 kB / 0.6926 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.156, allocations: 3.938 kB / 0.6926 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.542e-05/0.1561, allocations: 53.62 kB / 0.6926 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1561, allocations: 7.938 kB / 0.6926 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1561, allocations: 0 / 0.6926 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1562, allocations: 0 / 0.6926 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.1562, allocations: 11.98 kB / 0.6927 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1562, allocations: 0 / 0.6927 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1562, allocations: 4 kB / 0.6927 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1562, allocations: 3.984 kB / 0.6927 GB, free: 2.32 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.89e-05/0.1563, allocations: 117.8 kB / 0.6928 GB, free: 2.195 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1563, allocations: 3.938 kB / 0.6928 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1565, allocations: 73.3 kB / 0.6928 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1565, allocations: 0 / 0.6928 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1565, allocations: 4 kB / 0.6929 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1565, allocations: 0 / 0.6929 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1566, allocations: 136.7 kB / 0.693 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1566, allocations: 4 kB / 0.693 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1566, allocations: 8 kB / 0.693 GB, free: 1.918 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1566, allocations: 3.938 kB / 0.693 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1566, allocations: 0 / 0.693 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1567, allocations: 4.062 kB / 0.693 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1567, allocations: 0 / 0.693 GB, free: 1.91 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.1568, allocations: 109 kB / 0.6931 GB, free: 1.785 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-06/0.1568, allocations: 0 / 0.6931 GB, free: 1.785 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1568, allocations: 3.938 kB / 0.6931 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.1568, allocations: 4.031 kB / 0.6931 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.1569, allocations: 8.047 kB / 0.6931 GB, free: 1.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1569, allocations: 8 kB / 0.6931 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.1569, allocations: 75.28 kB / 0.6932 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1569, allocations: 0 / 0.6932 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000184/0.1571, allocations: 8 kB / 0.6932 GB, free: 1.68 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.0004432/0.1575, allocations: 0.6436 MB / 0.6938 GB, free: 1.004 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 9.222e-05/0.1576, allocations: 27.94 kB / 0.6939 GB, free: 0.9766 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.1576, allocations: 0 / 0.6939 GB, free: 0.9766 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.1577, allocations: 11.98 kB / 0.6939 GB, free: 0.9648 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1578, allocations: 15.16 kB / 0.6939 GB, free: 0.9531 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1589, allocations: 1.118 MB / 0.695 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.159, allocations: 63.34 kB / 0.695 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.159, allocations: 4 kB / 0.695 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.159, allocations: 19.41 kB / 0.6951 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of SimCode: time 2.91e-07/0.159, allocations: 0 / 0.6951 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.1872, allocations: 2.011 MB / 0.697 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.01, allocations: 11.14 kB / 0.697 GB, free: 13.76 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: 14.942649216391146]