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.001347/0.001347, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001396/0.001396, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.44/1.44, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7277/0.7277, allocations: 120.6 MB / 430.7 MB, free: 184 kB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-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.001959/0.001959, allocations: 71.89 kB / 0.6015 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5778, allocations: 85.8 MB / 0.6853 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001367/0.5792, allocations: 414.8 kB / 0.6857 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.5796, allocations: 243.8 kB / 0.6859 GB, free: 10.69 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.5797, allocations: 1.281 kB / 0.6859 GB, free: 10.69 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.5797, allocations: 3.938 kB / 0.686 GB, free: 10.69 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.5798, allocations: 5.188 kB / 0.686 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.5799, allocations: 23.48 kB / 0.686 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.58, allocations: 13.05 kB / 0.686 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.58, allocations: 5.234 kB / 0.686 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.58, allocations: 3.781 kB / 0.686 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.5801, allocations: 10.47 kB / 0.686 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.5801, allocations: 0 / 0.686 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.5802, allocations: 29.84 kB / 0.686 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.5802, allocations: 1.281 kB / 0.686 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.5802, allocations: 5.234 kB / 0.686 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.5803, allocations: 29.27 kB / 0.6861 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5803, allocations: 1.281 kB / 0.6861 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5803, allocations: 0 / 0.6861 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5803, allocations: 0 / 0.6861 GB, free: 10.61 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.000298/0.5806, allocations: 330.9 kB / 0.6864 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5807, allocations: 13.41 kB / 0.6864 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/0.5807, allocations: 31.69 kB / 0.6864 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.5807, allocations: 5.797 kB / 0.6864 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.5808, allocations: 161.3 kB / 0.6866 GB, free: 10 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5808, allocations: 1.281 kB / 0.6866 GB, free: 10 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.5808, allocations: 1.312 kB / 0.6866 GB, free: 10 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.999e-05/0.5809, allocations: 38.84 kB / 0.6866 GB, free: 9.965 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5809, allocations: 4.875 kB / 0.6866 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5809, allocations: 0 / 0.6866 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.5809, allocations: 8.922 kB / 0.6866 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.581, allocations: 8.531 kB / 0.6867 GB, free: 9.949 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.5811, allocations: 161.2 kB / 0.6868 GB, free: 9.746 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5813, allocations: 43.19 kB / 0.6868 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.5813, allocations: 12.58 kB / 0.6869 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.5813, allocations: 3.984 kB / 0.6869 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.5813, allocations: 39.55 kB / 0.6869 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5813, allocations: 0.9375 kB / 0.6869 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001417/0.5815, allocations: 55.38 kB / 0.687 GB, free: 9.602 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.5815, allocations: 52.34 kB / 0.687 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.864e-05/0.5815, allocations: 99.7 kB / 0.6871 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.5816, allocations: 26.61 kB / 0.6871 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.5816, allocations: 81.08 kB / 0.6872 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.5816, allocations: 12.83 kB / 0.6872 GB, free: 9.309 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.5816, allocations: 21.53 kB / 0.6872 GB, free: 9.285 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.5817, allocations: 311.8 kB / 0.6875 GB, free: 8.973 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.5817, allocations: 11.62 kB / 0.6875 GB, free: 8.965 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.5817, allocations: 7.672 kB / 0.6876 GB, free: 8.961 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.5817, allocations: 18.08 kB / 0.6876 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5817, allocations: 0 / 0.6876 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.158e-05/0.5818, allocations: 56.41 kB / 0.6876 GB, free: 8.902 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5818, allocations: 8.531 kB / 0.6876 GB, free: 8.898 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5818, allocations: 0.9375 kB / 0.6876 GB, free: 8.898 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5818, allocations: 4 kB / 0.6876 GB, free: 8.895 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.5819, allocations: 14.45 kB / 0.6877 GB, free: 8.887 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5819, allocations: 0 / 0.6877 GB, free: 8.887 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.5819, allocations: 0.9062 kB / 0.6877 GB, free: 8.887 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5819, allocations: 0.9375 kB / 0.6877 GB, free: 8.887 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 4.281e-05/0.582, allocations: 110 kB / 0.6878 GB, free: 8.773 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.582, allocations: 4.844 kB / 0.6878 GB, free: 8.77 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.5821, allocations: 77.42 kB / 0.6878 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5821, allocations: 0.9062 kB / 0.6878 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5821, allocations: 0.9375 kB / 0.6878 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.5821, allocations: 0 / 0.6878 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.783e-05/0.5822, allocations: 165 kB / 0.688 GB, free: 8.496 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5822, allocations: 0 / 0.688 GB, free: 8.496 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.5822, allocations: 12.27 kB / 0.688 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5822, allocations: 4.875 kB / 0.688 GB, free: 8.488 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5822, allocations: 4.875 kB / 0.688 GB, free: 8.484 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5822, allocations: 0.9062 kB / 0.688 GB, free: 8.484 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5822, allocations: 0 / 0.688 GB, free: 8.484 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.5824, allocations: 101.7 kB / 0.6881 GB, free: 8.395 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.5824, allocations: 90.83 kB / 0.6882 GB, free: 8.289 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.5824, allocations: 4.875 kB / 0.6882 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.5824, allocations: 0 / 0.6882 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.5824, allocations: 2.75 kB / 0.6882 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.5825, allocations: 2.172 kB / 0.6882 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.62e-05/0.5825, allocations: 77.12 kB / 0.6883 GB, free: 8.211 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.5825, allocations: 4.156 kB / 0.6883 GB, free: 8.207 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001908/0.5827, allocations: 15.39 kB / 0.6883 GB, free: 8.199 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.0002942/0.583, allocations: 0.6389 MB / 0.6889 GB, free: 7.574 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.5831, allocations: 22.77 kB / 0.6889 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5831, allocations: 0 / 0.6889 GB, free: 7.566 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.5831, allocations: 19.12 kB / 0.689 GB, free: 7.559 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.5832, allocations: 7.75 kB / 0.689 GB, free: 7.555 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.5839, allocations: 1.131 MB / 0.6901 GB, free: 6.41 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.584, allocations: 0.683 MB / 0.6907 GB, free: 5.707 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.584, allocations: 7.672 kB / 0.6908 GB, free: 5.703 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.5841, allocations: 14.22 kB / 0.6908 GB, free: 5.691 MB / 0.5139 GB Notification: Performance of SimCode: time 3.11e-07/0.5841, allocations: 0 / 0.6908 GB, free: 5.691 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.6095, allocations: 1.519 MB / 0.6922 GB, free: 4.883 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.723, allocations: 15.98 kB / 0.6923 GB, free: 4.875 MB / 0.5139 GB " [Timeout remaining time 291] (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: 12.415934266056865]