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.0008558/0.0008558, allocations: 112.2 kB / 20.43 MB, free: 4.594 MB / 13.93 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.0007639/0.0007639, allocations: 208.7 kB / 23.74 MB, free: 2.27 MB / 13.93 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 0.9963/0.9963, allocations: 230.6 MB / 257.5 MB, free: 9.781 MB / 202.7 MB " [Timeout remaining time 179] 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.844/0.844, allocations: 120.6 MB / 434.5 MB, free: 13.43 MB / 346.8 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.001083/0.001083, allocations: 70.64 kB / 0.6067 GB, free: 63.81 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1413, allocations: 85.86 MB / 0.6906 GB, free: 8.73 MB / 0.5106 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001261/0.1426, allocations: 403.9 kB / 0.691 GB, free: 8.34 MB / 0.5106 GB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.1428, allocations: 31.88 kB / 0.691 GB, free: 8.309 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.1428, allocations: 0 / 0.691 GB, free: 8.309 MB / 0.5106 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.1428, allocations: 3.938 kB / 0.691 GB, free: 8.305 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.1429, allocations: 0 / 0.691 GB, free: 8.305 MB / 0.5106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.143, allocations: 8 kB / 0.691 GB, free: 8.297 MB / 0.5106 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.1431, allocations: 4 kB / 0.691 GB, free: 8.293 MB / 0.5106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.1431, allocations: 0 / 0.691 GB, free: 8.293 MB / 0.5106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.1431, allocations: 3.984 kB / 0.691 GB, free: 8.289 MB / 0.5106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.1432, allocations: 8 kB / 0.691 GB, free: 8.281 MB / 0.5106 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1432, allocations: 0 / 0.691 GB, free: 8.281 MB / 0.5106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.1433, allocations: 8 kB / 0.691 GB, free: 8.273 MB / 0.5106 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1433, allocations: 0 / 0.691 GB, free: 8.273 MB / 0.5106 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.1433, allocations: 3.938 kB / 0.691 GB, free: 8.27 MB / 0.5106 GB Notification: Performance of NFConvertDAE.convert: time 9.281e-05/0.1434, allocations: 11.97 kB / 0.691 GB, free: 8.258 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1434, allocations: 0 / 0.691 GB, free: 8.258 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1434, allocations: 7.875 kB / 0.6911 GB, free: 8.25 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.1434, allocations: 4 kB / 0.6911 GB, free: 8.246 MB / 0.5106 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.0002661/0.1437, allocations: 242.7 kB / 0.6913 GB, free: 7.977 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1437, allocations: 12.03 kB / 0.6913 GB, free: 7.965 MB / 0.5106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.1438, allocations: 30.75 kB / 0.6913 GB, free: 7.926 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.1438, allocations: 0.9375 kB / 0.6913 GB, free: 7.926 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.275e-05/0.1438, allocations: 106.5 kB / 0.6914 GB, free: 7.797 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1438, allocations: 4.375 kB / 0.6914 GB, free: 7.793 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1439, allocations: 384 / 0.6914 GB, free: 7.793 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.144, allocations: 38.25 kB / 0.6915 GB, free: 7.75 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.144, allocations: 3.938 kB / 0.6915 GB, free: 7.746 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.144, allocations: 0 / 0.6915 GB, free: 7.746 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.144, allocations: 0 / 0.6915 GB, free: 7.746 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.144, allocations: 11.94 kB / 0.6915 GB, free: 7.734 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1441, allocations: 120.8 kB / 0.6916 GB, free: 7.574 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.1442, allocations: 26.55 kB / 0.6916 GB, free: 7.539 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.1442, allocations: 4.859 kB / 0.6916 GB, free: 7.531 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.1444, allocations: 8.062 kB / 0.6916 GB, free: 7.523 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1444, allocations: 42.55 kB / 0.6917 GB, free: 7.473 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1444, allocations: 0 / 0.6917 GB, free: 7.473 MB / 0.5106 GB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.1445, allocations: 45.52 kB / 0.6917 GB, free: 7.422 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.1446, allocations: 55.41 kB / 0.6918 GB, free: 7.355 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.393e-05/0.1446, allocations: 89.86 kB / 0.6919 GB, free: 7.258 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.1446, allocations: 25.7 kB / 0.6919 GB, free: 7.227 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 1.853e-05/0.1446, allocations: 84.14 kB / 0.692 GB, free: 7.141 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1447, allocations: 3.953 kB / 0.692 GB, free: 7.137 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1447, allocations: 21.83 kB / 0.692 GB, free: 7.109 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.1448, allocations: 310.8 kB / 0.6923 GB, free: 6.797 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.1448, allocations: 0 / 0.6923 GB, free: 6.797 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.1448, allocations: 8 kB / 0.6923 GB, free: 6.789 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.1448, allocations: 8.859 kB / 0.6923 GB, free: 6.777 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1448, allocations: 0 / 0.6923 GB, free: 6.777 MB / 0.5106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.687e-05/0.1449, allocations: 41.64 kB / 0.6923 GB, free: 6.73 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1449, allocations: 7.984 kB / 0.6924 GB, free: 6.723 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1449, allocations: 8.031 kB / 0.6924 GB, free: 6.715 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1449, allocations: 4 kB / 0.6924 GB, free: 6.711 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.145, allocations: 0 / 0.6924 GB, free: 6.711 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.145, allocations: 0 / 0.6924 GB, free: 6.711 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-06/0.145, allocations: 7.938 kB / 0.6924 GB, free: 6.703 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.145, allocations: 0 / 0.6924 GB, free: 6.703 MB / 0.5106 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 5.384e-05/0.145, allocations: 105.8 kB / 0.6925 GB, free: 6.59 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-06/0.145, allocations: 0 / 0.6925 GB, free: 6.59 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1451, allocations: 64.61 kB / 0.6925 GB, free: 6.52 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1451, allocations: 0 / 0.6925 GB, free: 6.52 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1451, allocations: 0 / 0.6925 GB, free: 6.52 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1451, allocations: 4 kB / 0.6925 GB, free: 6.516 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.34e-05/0.1452, allocations: 120.8 kB / 0.6927 GB, free: 6.355 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1452, allocations: 0 / 0.6927 GB, free: 6.355 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.1452, allocations: 4 kB / 0.6927 GB, free: 6.352 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1452, allocations: 0 / 0.6927 GB, free: 6.352 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1452, allocations: 3.938 kB / 0.6927 GB, free: 6.348 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1452, allocations: 0 / 0.6927 GB, free: 6.348 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1452, allocations: 4 kB / 0.6927 GB, free: 6.344 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.368e-05/0.1453, allocations: 69.11 kB / 0.6927 GB, free: 6.258 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.1453, allocations: 0 / 0.6927 GB, free: 6.258 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1453, allocations: 7.938 kB / 0.6927 GB, free: 6.25 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.839e-06/0.1453, allocations: 3.938 kB / 0.6927 GB, free: 6.246 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.1453, allocations: 4 kB / 0.6927 GB, free: 6.242 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1453, allocations: 0 / 0.6927 GB, free: 6.242 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 2.344e-05/0.1454, allocations: 83.25 kB / 0.6928 GB, free: 6.16 MB / 0.5106 GB Notification: Performance of sort global known variables: time 4e-08/0.1454, allocations: 0 / 0.6928 GB, free: 6.16 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0001221/0.1455, allocations: 4 kB / 0.6928 GB, free: 6.156 MB / 0.5106 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.0002846/0.1458, allocations: 0.5933 MB / 0.6934 GB, free: 5.531 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.1459, allocations: 11.98 kB / 0.6934 GB, free: 5.52 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1459, allocations: 4.094 kB / 0.6934 GB, free: 5.516 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.1459, allocations: 7.938 kB / 0.6934 GB, free: 5.508 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.146, allocations: 0 / 0.6934 GB, free: 5.508 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.1463, allocations: 114.7 kB / 0.6935 GB, free: 5.355 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.1464, allocations: 0.669 MB / 0.6942 GB, free: 4.66 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.1464, allocations: 4 kB / 0.6942 GB, free: 4.656 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.1465, allocations: 11.5 kB / 0.6942 GB, free: 4.645 MB / 0.5106 GB Notification: Performance of SimCode: time 4.5e-07/0.1465, allocations: 0 / 0.6942 GB, free: 4.645 MB / 0.5106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.1622, allocations: 1.131 MB / 0.6953 GB, free: 3.629 MB / 0.5106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.908, allocations: 7.531 kB / 0.6953 GB, free: 3.625 MB / 0.5106 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/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: 10.277675653109327]