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.001333/0.001333, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001576/0.001576, allocations: 213.4 kB / 23.74 MB, free: 4.688 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 1.034/1.034, allocations: 120.6 MB / 434.5 MB, free: 0.8555 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.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.001928/0.001928, allocations: 71.84 kB / 0.6067 GB, free: 10.97 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1712, allocations: 85.87 MB / 0.6906 GB, free: 4.891 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00151/0.1728, allocations: 385.2 kB / 0.691 GB, free: 4.516 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002307/0.173, allocations: 39.12 kB / 0.691 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.173, allocations: 0 / 0.691 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.173, allocations: 0 / 0.691 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.1731, allocations: 0 / 0.691 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.1732, allocations: 7.938 kB / 0.691 GB, free: 4.473 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.1733, allocations: 4 kB / 0.691 GB, free: 4.469 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1733, allocations: 7.969 kB / 0.691 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.1734, allocations: 0 / 0.691 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.1734, allocations: 8 kB / 0.691 GB, free: 4.453 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1734, allocations: 0 / 0.691 GB, free: 4.453 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.1735, allocations: 11.98 kB / 0.691 GB, free: 4.441 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.1735, allocations: 3.938 kB / 0.691 GB, free: 4.438 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.1735, allocations: 3.984 kB / 0.691 GB, free: 4.434 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.19e-05/0.1736, allocations: 4.281 kB / 0.691 GB, free: 4.43 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1736, allocations: 0 / 0.691 GB, free: 4.43 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1736, allocations: 4 kB / 0.6911 GB, free: 4.426 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1736, allocations: 0 / 0.6911 GB, free: 4.426 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.0003281/0.1739, allocations: 242.4 kB / 0.6913 GB, free: 4.156 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.174, allocations: 12.03 kB / 0.6913 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.174, allocations: 34.69 kB / 0.6913 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.1741, allocations: 0.9375 kB / 0.6913 GB, free: 4.102 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.1741, allocations: 106.5 kB / 0.6914 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1741, allocations: 384 / 0.6914 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1742, allocations: 4.375 kB / 0.6914 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1743, allocations: 34.25 kB / 0.6915 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1743, allocations: 3.938 kB / 0.6915 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1743, allocations: 0 / 0.6915 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1743, allocations: 0 / 0.6915 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.1743, allocations: 8 kB / 0.6915 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1745, allocations: 128.7 kB / 0.6916 GB, free: 3.75 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.179e-05/0.1745, allocations: 22.52 kB / 0.6916 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.1746, allocations: 8.859 kB / 0.6916 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.1748, allocations: 12.05 kB / 0.6916 GB, free: 3.695 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1748, allocations: 38.56 kB / 0.6917 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1748, allocations: 3.938 kB / 0.6917 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.175, allocations: 41.64 kB / 0.6917 GB, free: 3.598 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.175, allocations: 59.34 kB / 0.6918 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.1751, allocations: 89.86 kB / 0.6919 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1751, allocations: 25.7 kB / 0.6919 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1751, allocations: 80.14 kB / 0.692 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1751, allocations: 11.88 kB / 0.692 GB, free: 3.305 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.1752, allocations: 17.84 kB / 0.692 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1753, allocations: 314.8 kB / 0.6923 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.1753, allocations: 0 / 0.6923 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.1753, allocations: 4 kB / 0.6923 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.1754, allocations: 8.859 kB / 0.6923 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1754, allocations: 0 / 0.6923 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.047e-05/0.1754, allocations: 41.69 kB / 0.6923 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1754, allocations: 7.938 kB / 0.6924 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1755, allocations: 8.031 kB / 0.6924 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1755, allocations: 4 kB / 0.6924 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.1755, allocations: 0 / 0.6924 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1755, allocations: 0 / 0.6924 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.1755, allocations: 4 kB / 0.6924 GB, free: 2.879 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.1755, allocations: 0 / 0.6924 GB, free: 2.879 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 7.705e-05/0.1756, allocations: 105.8 kB / 0.6925 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.1756, allocations: 0 / 0.6925 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1757, allocations: 56.73 kB / 0.6925 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1757, allocations: 0 / 0.6925 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1757, allocations: 0 / 0.6925 GB, free: 2.703 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1757, allocations: 4 kB / 0.6925 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1758, allocations: 120.8 kB / 0.6926 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1758, allocations: 0 / 0.6926 GB, free: 2.539 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.1758, allocations: 7.938 kB / 0.6926 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1759, allocations: 0 / 0.6926 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1759, allocations: 7.875 kB / 0.6927 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1759, allocations: 3.984 kB / 0.6927 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1759, allocations: 8.031 kB / 0.6927 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.1759, allocations: 65.08 kB / 0.6927 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.1759, allocations: 0 / 0.6927 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.176, allocations: 3.938 kB / 0.6927 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.176, allocations: 0 / 0.6927 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.176, allocations: 4 kB / 0.6927 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.176, allocations: 0 / 0.6927 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.176, allocations: 79.31 kB / 0.6928 GB, free: 2.344 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.176, allocations: 0 / 0.6928 GB, free: 2.344 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001747/0.1762, allocations: 15.92 kB / 0.6928 GB, free: 2.328 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.000407/0.1766, allocations: 0.5932 MB / 0.6934 GB, free: 1.703 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.1767, allocations: 8.031 kB / 0.6934 GB, free: 1.695 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1767, allocations: 4.062 kB / 0.6934 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.1767, allocations: 11.94 kB / 0.6934 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1768, allocations: 3.234 kB / 0.6934 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1772, allocations: 114.7 kB / 0.6935 GB, free: 1.527 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1775, allocations: 0.669 MB / 0.6942 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.1775, allocations: 4 kB / 0.6942 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.1775, allocations: 15.48 kB / 0.6942 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of SimCode: time 2.8e-07/0.1775, allocations: 0 / 0.6942 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.204, allocations: 1.128 MB / 0.6953 GB, free: 15.81 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.89, allocations: 12 kB / 0.6953 GB, free: 15.8 MB / 0.5295 GB " [Timeout remaining time 289] (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: 14.93315505800274]