Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.001364/0.001364, 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.001639/0.001639, 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.06/1.06, allocations: 120.6 MB / 434.5 MB, free: 0.8906 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.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.001989/0.001989, allocations: 67.89 kB / 0.6083 GB, free: 9.344 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 85.87 MB / 0.6922 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003075/0.178, allocations: 1.399 MB / 0.6936 GB, free: 1.855 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1792, allocations: 0.573 MB / 0.6941 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.1793, allocations: 0 / 0.6941 GB, free: 1.281 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.257e-05/0.1794, allocations: 7.922 kB / 0.6941 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.1797, allocations: 63.72 kB / 0.6942 GB, free: 1.211 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1799, allocations: 51.83 kB / 0.6942 GB, free: 1.16 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.1802, allocations: 191.5 kB / 0.6944 GB, free: 0.9727 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1802, allocations: 4.188 kB / 0.6944 GB, free: 0.9688 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1804, allocations: 83.8 kB / 0.6945 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1807, allocations: 95.75 kB / 0.6946 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1807, allocations: 8 kB / 0.6946 GB, free: 0.7852 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1808, allocations: 35.97 kB / 0.6946 GB, free: 0.75 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1809, allocations: 75.78 kB / 0.6947 GB, free: 0.6758 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.181, allocations: 71.64 kB / 0.6948 GB, free: 0.6055 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1813, allocations: 155.3 kB / 0.6949 GB, free: 464 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1813, allocations: 0 / 0.6949 GB, free: 464 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1813, allocations: 0 / 0.6949 GB, free: 464 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1813, allocations: 0 / 0.6949 GB, free: 464 kB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009329/0.1822, allocations: 397.9 kB / 0.6953 GB, free: 32 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1823, allocations: 8.031 kB / 0.6953 GB, free: 24 kB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.1824, allocations: 42.73 kB / 0.6954 GB, free: 15.97 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.1824, allocations: 28.78 kB / 0.6954 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1827, allocations: 157.8 kB / 0.6955 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1827, allocations: 8.234 kB / 0.6955 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1828, allocations: 19.95 kB / 0.6956 GB, free: 15.74 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.1831, allocations: 179.4 kB / 0.6957 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1831, allocations: 0 / 0.6957 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1831, allocations: 8 kB / 0.6957 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1831, allocations: 0 / 0.6957 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.1834, allocations: 148.6 kB / 0.6959 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1838, allocations: 253.4 kB / 0.6961 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.1847, allocations: 342.9 kB / 0.6964 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.1849, allocations: 116.7 kB / 0.6966 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.1851, allocations: 11.98 kB / 0.6966 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1851, allocations: 38.56 kB / 0.6966 GB, free: 14.6 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.1851, allocations: 3.938 kB / 0.6966 GB, free: 14.59 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.000716/0.1859, allocations: 378.1 kB / 0.697 GB, free: 14.22 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1859, allocations: 55.41 kB / 0.697 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.186, allocations: 136.6 kB / 0.6972 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1861, allocations: 25.7 kB / 0.6972 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1861, allocations: 92.64 kB / 0.6973 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1862, allocations: 115 kB / 0.6974 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1863, allocations: 58.03 kB / 0.6974 GB, free: 13.71 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1865, allocations: 338.8 kB / 0.6978 GB, free: 13.37 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.1867, allocations: 124.6 kB / 0.6979 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1869, allocations: 129.2 kB / 0.698 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.1874, allocations: 282.2 kB / 0.6983 GB, free: 12.84 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1874, allocations: 0 / 0.6983 GB, free: 12.84 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005577/0.1879, allocations: 353.9 kB / 0.6986 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.188, allocations: 8 kB / 0.6986 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.188, allocations: 0 / 0.6986 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.188, allocations: 0 / 0.6986 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1883, allocations: 75.89 kB / 0.6987 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1883, allocations: 0 / 0.6987 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1884, allocations: 27.83 kB / 0.6987 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1884, allocations: 8 kB / 0.6987 GB, free: 12.38 MB / 0.5295 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 (39): * Single equations (assignments): 39 * 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 0.0001341/0.1886, allocations: 137.7 kB / 0.6989 GB, free: 12.23 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1886, allocations: 19.91 kB / 0.6989 GB, free: 12.21 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.1894, allocations: 403.2 kB / 0.6993 GB, free: 11.8 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1894, allocations: 4 kB / 0.6993 GB, free: 11.8 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1894, allocations: 0 / 0.6993 GB, free: 11.8 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1894, allocations: 7.922 kB / 0.6993 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.1898, allocations: 288.3 kB / 0.6995 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1898, allocations: 0 / 0.6995 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.1902, allocations: 83.91 kB / 0.6996 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1902, allocations: 3.984 kB / 0.6996 GB, free: 11.38 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.1902, allocations: 15.98 kB / 0.6996 GB, free: 11.37 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1902, allocations: 7.938 kB / 0.6996 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1902, allocations: 4 kB / 0.6997 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.191, allocations: 0.5301 MB / 0.7002 GB, free: 10.81 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.1912, allocations: 47.8 kB / 0.7002 GB, free: 10.76 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.1912, allocations: 8 kB / 0.7002 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1913, allocations: 8 kB / 0.7002 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1913, allocations: 19.95 kB / 0.7002 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1914, allocations: 15.98 kB / 0.7003 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.451e-05/0.1914, allocations: 106 kB / 0.7004 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1914, allocations: 4 kB / 0.7004 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002924/0.1917, allocations: 68 kB / 0.7004 GB, free: 10.54 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.001274/0.193, allocations: 1.09 MB / 0.7015 GB, free: 9.418 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.1935, allocations: 287.7 kB / 0.7018 GB, free: 9.137 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1936, allocations: 4 kB / 0.7018 GB, free: 9.133 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.1938, allocations: 155.8 kB / 0.7019 GB, free: 8.98 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1941, allocations: 34.92 kB / 0.702 GB, free: 8.949 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1979, allocations: 2.892 MB / 0.7048 GB, free: 5.98 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1984, allocations: 0.7448 MB / 0.7055 GB, free: 5.207 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.1986, allocations: 85.86 kB / 0.7056 GB, free: 5.117 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1987, allocations: 71.41 kB / 0.7057 GB, free: 5.047 MB / 0.5295 GB Notification: Performance of SimCode: time 4.21e-07/0.1987, allocations: 0 / 0.7057 GB, free: 5.047 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.2369, allocations: 5.88 MB / 0.7114 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.05, allocations: 12.81 kB / 0.7114 GB, free: 15.29 MB / 0.5452 GB " [Timeout remaining time 288] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --stepSize=20 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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: 17.102728065103292]