Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: 120.4 kB / 17.79 MB, free: 5.285 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.001884/0.001884, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.422/1.422, 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.7691/0.7691, 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.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",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.001953/0.001953, allocations: 63.89 kB / 0.6015 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.6058, allocations: 85.82 MB / 0.6853 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001314/0.6071, allocations: 395.3 kB / 0.6857 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001929/0.6073, allocations: 35.5 kB / 0.6857 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.6074, allocations: 0 / 0.6857 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.6074, allocations: 0 / 0.6857 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.6074, allocations: 0 / 0.6857 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.6076, allocations: 16.08 kB / 0.6857 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.329e-05/0.6076, allocations: 1.219 kB / 0.6857 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.6077, allocations: 1.344 kB / 0.6857 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.6077, allocations: 1.344 kB / 0.6858 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.6077, allocations: 9.141 kB / 0.6858 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.6077, allocations: 0 / 0.6858 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.6078, allocations: 17.77 kB / 0.6858 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.6078, allocations: 0 / 0.6858 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.6078, allocations: 1.25 kB / 0.6858 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.477e-05/0.6079, allocations: 10.72 kB / 0.6858 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6079, allocations: 4 kB / 0.6858 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6079, allocations: 1.25 kB / 0.6858 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6079, allocations: 0 / 0.6858 GB, free: 10.8 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000225/0.6081, allocations: 311.3 kB / 0.6861 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6082, allocations: 10.06 kB / 0.6861 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.6082, allocations: 34.75 kB / 0.6861 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.6082, allocations: 6.203 kB / 0.6861 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.967e-05/0.6083, allocations: 160.4 kB / 0.6863 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.6083, allocations: 384 / 0.6863 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.6083, allocations: 1.625 kB / 0.6863 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.6084, allocations: 41.86 kB / 0.6863 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6084, allocations: 3.938 kB / 0.6863 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.6084, allocations: 0 / 0.6863 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6084, allocations: 1.25 kB / 0.6863 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.318e-05/0.6084, allocations: 6.484 kB / 0.6863 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.307e-05/0.6085, allocations: 152.2 kB / 0.6865 GB, free: 9.965 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.6086, allocations: 18.36 kB / 0.6865 GB, free: 9.941 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.6086, allocations: 11.33 kB / 0.6865 GB, free: 9.93 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.6088, allocations: 87.41 kB / 0.6866 GB, free: 9.832 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.6088, allocations: 35.81 kB / 0.6866 GB, free: 9.789 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6088, allocations: 4 kB / 0.6866 GB, free: 9.785 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.6089, allocations: 46.38 kB / 0.6867 GB, free: 9.742 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.6089, allocations: 51.41 kB / 0.6867 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.754e-05/0.6089, allocations: 89.86 kB / 0.6868 GB, free: 9.582 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.609, allocations: 30.98 kB / 0.6868 GB, free: 9.547 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.113e-05/0.609, allocations: 80.14 kB / 0.6869 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.609, allocations: 5.203 kB / 0.6869 GB, free: 9.461 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.609, allocations: 14.14 kB / 0.6869 GB, free: 9.445 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.6091, allocations: 315 kB / 0.6872 GB, free: 9.129 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.6091, allocations: 9.953 kB / 0.6873 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.6091, allocations: 6.469 kB / 0.6873 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.6091, allocations: 9.891 kB / 0.6873 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6091, allocations: 0 / 0.6873 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.563e-05/0.6092, allocations: 37.27 kB / 0.6873 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6092, allocations: 7.094 kB / 0.6873 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6092, allocations: 5.219 kB / 0.6873 GB, free: 9.07 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6092, allocations: 4.094 kB / 0.6873 GB, free: 9.066 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.6092, allocations: 6.484 kB / 0.6873 GB, free: 9.062 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.6092, allocations: 1.25 kB / 0.6873 GB, free: 9.062 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.6092, allocations: 0 / 0.6873 GB, free: 9.062 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.6092, allocations: 1.281 kB / 0.6873 GB, free: 9.062 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 (2): * Single equations (assignments): 2 * 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 3.967e-05/0.6093, allocations: 112.8 kB / 0.6874 GB, free: 8.945 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.6093, allocations: 0 / 0.6874 GB, free: 8.945 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.6094, allocations: 56.33 kB / 0.6875 GB, free: 8.887 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.6094, allocations: 5.281 kB / 0.6875 GB, free: 8.883 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6094, allocations: 0 / 0.6875 GB, free: 8.883 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6094, allocations: 5.188 kB / 0.6875 GB, free: 8.879 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.52e-05/0.6094, allocations: 154.9 kB / 0.6876 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6094, allocations: 1.281 kB / 0.6876 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.6095, allocations: 6.484 kB / 0.6877 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.6095, allocations: 0 / 0.6877 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6095, allocations: 5.219 kB / 0.6877 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6095, allocations: 0 / 0.6877 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6095, allocations: 0 / 0.6877 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.521e-05/0.6095, allocations: 69.88 kB / 0.6877 GB, free: 8.594 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.6095, allocations: 82.38 kB / 0.6878 GB, free: 8.496 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.6095, allocations: 5.188 kB / 0.6878 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.6096, allocations: 0 / 0.6878 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.6096, allocations: 1.281 kB / 0.6878 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.6096, allocations: 1.25 kB / 0.6878 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.055e-05/0.6096, allocations: 75.28 kB / 0.6879 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.6096, allocations: 4.031 kB / 0.6879 GB, free: 8.414 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001712/0.6098, allocations: 6.469 kB / 0.6879 GB, free: 8.41 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002411/0.61, allocations: 0.6051 MB / 0.6885 GB, free: 7.797 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.6101, allocations: 6.469 kB / 0.6885 GB, free: 7.797 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6101, allocations: 4.094 kB / 0.6885 GB, free: 7.793 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.6101, allocations: 7.672 kB / 0.6885 GB, free: 7.789 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.6102, allocations: 3.219 kB / 0.6885 GB, free: 7.789 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.6104, allocations: 104.8 kB / 0.6886 GB, free: 7.656 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.407e-05/0.6105, allocations: 0.6747 MB / 0.6893 GB, free: 6.957 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.6106, allocations: 5.812 kB / 0.6893 GB, free: 6.953 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.6106, allocations: 8.344 kB / 0.6893 GB, free: 6.945 MB / 0.5139 GB Notification: Performance of SimCode: time 2.91e-07/0.6106, allocations: 4.062 kB / 0.6893 GB, free: 6.941 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.6321, allocations: 1.041 MB / 0.6903 GB, free: 6.367 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.533, allocations: 7.766 kB / 0.6903 GB, free: 6.367 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: 12.24032354913652]