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.001572/0.001572, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001723/0.001723, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.414/1.414, allocations: 230.6 MB / 258.3 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 1.007/1.007, allocations: 120.6 MB / 435.3 MB, free: 0.6562 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.001921/0.001921, allocations: 63.91 kB / 0.609 GB, free: 9.152 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1728, allocations: 85.87 MB / 0.6929 GB, free: 3.074 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002578/0.1754, allocations: 1.373 MB / 0.6942 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1764, allocations: 0.5108 MB / 0.6947 GB, free: 1.18 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.1765, allocations: 0 / 0.6947 GB, free: 1.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.264e-05/0.1766, allocations: 7.922 kB / 0.6947 GB, free: 1.172 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.1769, allocations: 63.72 kB / 0.6948 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.177, allocations: 47.81 kB / 0.6948 GB, free: 1.062 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1773, allocations: 195.5 kB / 0.695 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.1773, allocations: 4.188 kB / 0.695 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.1775, allocations: 87.8 kB / 0.6951 GB, free: 0.7812 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1777, allocations: 99.69 kB / 0.6952 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.1778, allocations: 8 kB / 0.6952 GB, free: 0.6758 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1779, allocations: 39.91 kB / 0.6952 GB, free: 0.6367 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.178, allocations: 67.8 kB / 0.6953 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1781, allocations: 67.69 kB / 0.6954 GB, free: 0.5039 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1783, allocations: 143.5 kB / 0.6955 GB, free: 372 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1783, allocations: 4 kB / 0.6955 GB, free: 368 kB / 0.5139 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1783, allocations: 0 / 0.6955 GB, free: 368 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1783, allocations: 3.938 kB / 0.6955 GB, free: 364 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.0008837/0.1792, allocations: 397.9 kB / 0.6959 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1792, allocations: 16.03 kB / 0.6959 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.1793, allocations: 4.422 kB / 0.6959 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.1793, allocations: 46.73 kB / 0.696 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1794, allocations: 16.84 kB / 0.696 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1796, allocations: 157.6 kB / 0.6961 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1796, allocations: 12.22 kB / 0.6961 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.1797, allocations: 15.95 kB / 0.6962 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.18, allocations: 179.4 kB / 0.6963 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.18, allocations: 0 / 0.6963 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.18, allocations: 4 kB / 0.6963 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.18, allocations: 4 kB / 0.6963 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.1803, allocations: 152.5 kB / 0.6965 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1806, allocations: 245.1 kB / 0.6967 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1816, allocations: 338.8 kB / 0.697 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1818, allocations: 108.8 kB / 0.6971 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.182, allocations: 15.98 kB / 0.6972 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.182, allocations: 30.56 kB / 0.6972 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.182, allocations: 0 / 0.6972 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0007077/0.1827, allocations: 382.1 kB / 0.6975 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1828, allocations: 55.41 kB / 0.6976 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1829, allocations: 136.5 kB / 0.6977 GB, free: 13.93 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1829, allocations: 29.7 kB / 0.6978 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.183, allocations: 96.56 kB / 0.6978 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.1831, allocations: 111.1 kB / 0.698 GB, free: 13.69 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1832, allocations: 65.95 kB / 0.698 GB, free: 13.61 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1834, allocations: 334.8 kB / 0.6983 GB, free: 13.28 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.1836, allocations: 124.6 kB / 0.6985 GB, free: 13.16 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1838, allocations: 125.2 kB / 0.6986 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.1842, allocations: 278.3 kB / 0.6988 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1842, allocations: 4 kB / 0.6988 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005561/0.1848, allocations: 353.9 kB / 0.6992 GB, free: 12.41 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1848, allocations: 11.94 kB / 0.6992 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1848, allocations: 4 kB / 0.6992 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1848, allocations: 0 / 0.6992 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.1851, allocations: 79.89 kB / 0.6993 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1851, allocations: 0 / 0.6993 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1852, allocations: 19.83 kB / 0.6993 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1853, allocations: 8 kB / 0.6993 GB, free: 12.29 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.0001533/0.1854, allocations: 141.7 kB / 0.6994 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1855, allocations: 19.91 kB / 0.6995 GB, free: 12.12 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.1862, allocations: 399.2 kB / 0.6998 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1862, allocations: 4 kB / 0.6998 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1862, allocations: 0 / 0.6998 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1862, allocations: 3.984 kB / 0.6998 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.1865, allocations: 272.4 kB / 0.7001 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1865, allocations: 4 kB / 0.7001 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.187, allocations: 87.89 kB / 0.7002 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.187, allocations: 4 kB / 0.7002 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.187, allocations: 8 kB / 0.7002 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.187, allocations: 4 kB / 0.7002 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.187, allocations: 0 / 0.7002 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008313/0.1878, allocations: 0.5339 MB / 0.7007 GB, free: 10.74 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1879, allocations: 51.78 kB / 0.7008 GB, free: 10.69 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.188, allocations: 11.98 kB / 0.7008 GB, free: 10.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1881, allocations: 12 kB / 0.7008 GB, free: 10.67 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.1881, allocations: 23.95 kB / 0.7008 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1882, allocations: 12 kB / 0.7008 GB, free: 10.63 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.1883, allocations: 103.2 kB / 0.7009 GB, free: 10.53 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1883, allocations: 0 / 0.7009 GB, free: 10.53 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000288/0.1885, allocations: 71.94 kB / 0.701 GB, free: 10.46 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.00121/0.1898, allocations: 1.086 MB / 0.7021 GB, free: 9.344 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.1903, allocations: 287.6 kB / 0.7023 GB, free: 9.062 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1903, allocations: 0 / 0.7023 GB, free: 9.062 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.1905, allocations: 159.8 kB / 0.7025 GB, free: 8.906 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1908, allocations: 42.94 kB / 0.7025 GB, free: 8.867 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.1945, allocations: 2.884 MB / 0.7053 GB, free: 5.906 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1946, allocations: 136.7 kB / 0.7055 GB, free: 5.746 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.1949, allocations: 93.8 kB / 0.7056 GB, free: 5.652 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.195, allocations: 67.41 kB / 0.7056 GB, free: 5.586 MB / 0.5295 GB Notification: Performance of SimCode: time 8.41e-07/0.195, allocations: 0 / 0.7056 GB, free: 5.586 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.2305, allocations: 5.912 MB / 0.7114 GB, free: 15.85 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.7, allocations: 12.12 kB / 0.7114 GB, free: 15.84 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: 16.713199786958285]