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.001542/0.001542, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001696/0.001696, allocations: 205.2 kB / 24.52 MB, free: 4.156 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 / 258.3 MB, free: 8.027 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.041/1.041, allocations: 120.6 MB / 435.3 MB, free: 0.8477 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="cs",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.001944/0.001944, allocations: 63.91 kB / 0.6075 GB, free: 10.97 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1659, allocations: 85.85 MB / 0.6913 GB, free: 4.898 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001548/0.1674, allocations: 406.8 kB / 0.6917 GB, free: 4.508 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002189/0.1677, allocations: 31.12 kB / 0.6918 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1677, allocations: 0 / 0.6918 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.1677, allocations: 4 kB / 0.6918 GB, free: 4.477 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.1678, allocations: 7.938 kB / 0.6918 GB, free: 4.469 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1679, allocations: 3.938 kB / 0.6918 GB, free: 4.465 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.168, allocations: 4 kB / 0.6918 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.168, allocations: 0 / 0.6918 GB, free: 4.461 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.1681, allocations: 3.984 kB / 0.6918 GB, free: 4.457 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.1681, allocations: 11.98 kB / 0.6918 GB, free: 4.445 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1681, allocations: 0 / 0.6918 GB, free: 4.445 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.1682, allocations: 4 kB / 0.6918 GB, free: 4.441 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.1682, allocations: 0 / 0.6918 GB, free: 4.441 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.1682, allocations: 7.938 kB / 0.6918 GB, free: 4.434 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/0.1683, allocations: 16.27 kB / 0.6918 GB, free: 4.418 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1683, allocations: 0 / 0.6918 GB, free: 4.418 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.592e-06/0.1683, allocations: 0 / 0.6918 GB, free: 4.418 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1683, allocations: 0 / 0.6918 GB, free: 4.418 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.0003372/0.1687, allocations: 238.4 kB / 0.6921 GB, free: 4.152 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.1687, allocations: 8.031 kB / 0.6921 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.521e-05/0.1687, allocations: 8.125 kB / 0.6921 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.1688, allocations: 34.75 kB / 0.6921 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.1688, allocations: 4.938 kB / 0.6921 GB, free: 4.09 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.1689, allocations: 106.5 kB / 0.6922 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.1689, allocations: 384 / 0.6922 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1689, allocations: 4.375 kB / 0.6922 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.169, allocations: 34 kB / 0.6922 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.169, allocations: 0 / 0.6922 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1691, allocations: 0 / 0.6922 GB, free: 3.918 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1691, allocations: 4 kB / 0.6922 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.1691, allocations: 0 / 0.6922 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1693, allocations: 128.7 kB / 0.6924 GB, free: 3.746 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.1693, allocations: 26.59 kB / 0.6924 GB, free: 3.711 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.1694, allocations: 12.86 kB / 0.6924 GB, free: 3.695 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.1696, allocations: 4 kB / 0.6924 GB, free: 3.691 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1696, allocations: 38.48 kB / 0.6924 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1696, allocations: 4 kB / 0.6925 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.1697, allocations: 45.64 kB / 0.6925 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1698, allocations: 51.41 kB / 0.6925 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.421e-05/0.1698, allocations: 89.86 kB / 0.6926 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1699, allocations: 25.7 kB / 0.6927 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.1699, allocations: 80.14 kB / 0.6927 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1699, allocations: 7.891 kB / 0.6927 GB, free: 3.309 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.17, allocations: 21.7 kB / 0.6928 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1701, allocations: 311 kB / 0.6931 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.1701, allocations: 8 kB / 0.6931 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-06/0.1701, allocations: 0 / 0.6931 GB, free: 2.961 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.1701, allocations: 16.8 kB / 0.6931 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1701, allocations: 0 / 0.6931 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.042e-05/0.1702, allocations: 41.62 kB / 0.6931 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1702, allocations: 11.94 kB / 0.6931 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1702, allocations: 0 / 0.6931 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1702, allocations: 0 / 0.6931 GB, free: 2.883 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.1703, allocations: 8.094 kB / 0.6931 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1703, allocations: 0 / 0.6931 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.1703, allocations: 0 / 0.6931 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1703, allocations: 0 / 0.6931 GB, free: 2.875 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.548e-05/0.1704, allocations: 109.8 kB / 0.6932 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.1704, allocations: 7.938 kB / 0.6933 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.1705, allocations: 48.8 kB / 0.6933 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1705, allocations: 0 / 0.6933 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1705, allocations: 7.969 kB / 0.6933 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1705, allocations: 0 / 0.6933 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.836e-05/0.1706, allocations: 124.7 kB / 0.6934 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1706, allocations: 0 / 0.6934 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.1706, allocations: 0 / 0.6934 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1706, allocations: 7.938 kB / 0.6934 GB, free: 2.516 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1707, allocations: 4 kB / 0.6934 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1707, allocations: 0 / 0.6934 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1707, allocations: 3.938 kB / 0.6934 GB, free: 2.508 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.445e-05/0.1707, allocations: 73.06 kB / 0.6935 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-06/0.1708, allocations: 0 / 0.6935 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1708, allocations: 7.938 kB / 0.6935 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.1708, allocations: 4 kB / 0.6935 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.1708, allocations: 0 / 0.6935 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1708, allocations: 0 / 0.6935 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.1708, allocations: 75.28 kB / 0.6936 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1708, allocations: 0 / 0.6936 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000183/0.171, allocations: 7.938 kB / 0.6936 GB, free: 2.324 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.0004087/0.1714, allocations: 0.5972 MB / 0.6942 GB, free: 1.695 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 8.64e-05/0.1715, allocations: 11.98 kB / 0.6942 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1715, allocations: 0 / 0.6942 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.1715, allocations: 8.031 kB / 0.6942 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1717, allocations: 8.062 kB / 0.6942 GB, free: 1.668 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.172, allocations: 110.7 kB / 0.6943 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1723, allocations: 0.6767 MB / 0.695 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.1723, allocations: 0 / 0.695 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.1723, allocations: 11.44 kB / 0.695 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of SimCode: time 3.71e-07/0.1723, allocations: 0 / 0.695 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.192, allocations: 1.164 MB / 0.6961 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.28, allocations: 4.484 kB / 0.6961 GB, free: 15.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=300 --tolerance=1e-06 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.mat","/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: 15.360259640030563]