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.001244/0.001244, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001494/0.001494, allocations: 206 kB / 23.73 MB, free: 4.402 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.388/1.388, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9744/0.9744, allocations: 120.6 MB / 434.5 MB, free: 0.6602 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.001936/0.001936, allocations: 63.91 kB / 0.6067 GB, free: 10.93 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 85.87 MB / 0.6905 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001581/0.1587, allocations: 411.7 kB / 0.6909 GB, free: 4.453 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001914/0.1589, allocations: 27.89 kB / 0.6909 GB, free: 4.426 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1589, allocations: 0 / 0.6909 GB, free: 4.426 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1589, allocations: 0 / 0.6909 GB, free: 4.426 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.159, allocations: 0 / 0.6909 GB, free: 4.426 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.1591, allocations: 4 kB / 0.6909 GB, free: 4.422 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.1592, allocations: 7.938 kB / 0.6909 GB, free: 4.414 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.1592, allocations: 7.984 kB / 0.6909 GB, free: 4.406 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.1592, allocations: 4 kB / 0.6909 GB, free: 4.402 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.1593, allocations: 7.922 kB / 0.691 GB, free: 4.395 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1593, allocations: 0 / 0.691 GB, free: 4.395 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.1593, allocations: 8 kB / 0.691 GB, free: 4.387 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.1594, allocations: 3.984 kB / 0.691 GB, free: 4.383 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.1594, allocations: 0 / 0.691 GB, free: 4.383 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.428e-05/0.1594, allocations: 8 kB / 0.691 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1594, allocations: 0 / 0.691 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1595, allocations: 0 / 0.691 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1595, allocations: 0 / 0.691 GB, free: 4.375 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.0002926/0.1597, allocations: 242.7 kB / 0.6912 GB, free: 4.105 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1598, allocations: 12.03 kB / 0.6912 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.1598, allocations: 30.75 kB / 0.6912 GB, free: 4.055 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.1598, allocations: 0.9375 kB / 0.6912 GB, free: 4.055 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.1599, allocations: 106.5 kB / 0.6914 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1599, allocations: 8.312 kB / 0.6914 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.1599, allocations: 384 / 0.6914 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.16, allocations: 38.19 kB / 0.6914 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.16, allocations: 3.938 kB / 0.6914 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.1601, allocations: 0 / 0.6914 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1601, allocations: 0 / 0.6914 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.1601, allocations: 8 kB / 0.6914 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.1602, allocations: 116.8 kB / 0.6915 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.1603, allocations: 30.56 kB / 0.6915 GB, free: 3.668 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.1603, allocations: 4.859 kB / 0.6916 GB, free: 3.66 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.1605, allocations: 8.062 kB / 0.6916 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1605, allocations: 38.48 kB / 0.6916 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1605, allocations: 0 / 0.6916 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/0.1606, allocations: 49.58 kB / 0.6916 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1607, allocations: 55.53 kB / 0.6917 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.1607, allocations: 89.86 kB / 0.6918 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1608, allocations: 25.7 kB / 0.6918 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.1608, allocations: 80.14 kB / 0.6919 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1608, allocations: 3.953 kB / 0.6919 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1608, allocations: 21.7 kB / 0.6919 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.161, allocations: 310.8 kB / 0.6922 GB, free: 2.93 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.161, allocations: 4 kB / 0.6922 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-06/0.161, allocations: 0 / 0.6922 GB, free: 2.926 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.161, allocations: 16.8 kB / 0.6922 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.161, allocations: 8.062 kB / 0.6922 GB, free: 2.898 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.076e-05/0.1611, allocations: 37.69 kB / 0.6923 GB, free: 2.855 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1611, allocations: 4 kB / 0.6923 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1611, allocations: 3.938 kB / 0.6923 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1611, allocations: 0 / 0.6923 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.1612, allocations: 4 kB / 0.6923 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1612, allocations: 0 / 0.6923 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.1612, allocations: 3.938 kB / 0.6923 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.1612, allocations: 0 / 0.6923 GB, free: 2.84 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 8.806e-05/0.1613, allocations: 113.8 kB / 0.6924 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.1613, allocations: 4.031 kB / 0.6924 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1614, allocations: 56.67 kB / 0.6924 GB, free: 2.652 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1614, allocations: 3.938 kB / 0.6925 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1614, allocations: 0 / 0.6925 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1614, allocations: 0 / 0.6925 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.749e-05/0.1615, allocations: 124.7 kB / 0.6926 GB, free: 2.484 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1615, allocations: 4 kB / 0.6926 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.1615, allocations: 4 kB / 0.6926 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1615, allocations: 0 / 0.6926 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1615, allocations: 7.969 kB / 0.6926 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1616, allocations: 0 / 0.6926 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.1616, allocations: 3.984 kB / 0.6926 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.1616, allocations: 73.02 kB / 0.6927 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.1616, allocations: 3.984 kB / 0.6927 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1617, allocations: 7.938 kB / 0.6927 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.1617, allocations: 0 / 0.6927 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-06/0.1617, allocations: 0 / 0.6927 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1617, allocations: 4 kB / 0.6927 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.1617, allocations: 75.28 kB / 0.6927 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.1617, allocations: 0 / 0.6927 GB, free: 2.285 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001807/0.1619, allocations: 8.031 kB / 0.6928 GB, free: 2.277 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.0004039/0.1623, allocations: 0.5972 MB / 0.6933 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.894e-05/0.1624, allocations: 15.92 kB / 0.6934 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1624, allocations: 0 / 0.6934 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.1624, allocations: 4 kB / 0.6934 GB, free: 1.629 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1625, allocations: 4 kB / 0.6934 GB, free: 1.625 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.1628, allocations: 110.7 kB / 0.6935 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.824e-05/0.1629, allocations: 59.52 kB / 0.6935 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.1629, allocations: 0 / 0.6935 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.1629, allocations: 11.44 kB / 0.6935 GB, free: 1.387 MB / 0.5139 GB Notification: Performance of SimCode: time 2.81e-07/0.1629, allocations: 0 / 0.6935 GB, free: 1.387 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.1895, allocations: 1.506 MB / 0.695 GB, free: 4 kB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.15, allocations: 15.17 kB / 0.695 GB, free: 15.99 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.998794998973608]