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.001539/0.001539, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00166/0.00166, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9516/0.9516, allocations: 120.6 MB / 434.5 MB, free: 0.6289 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.001964/0.001964, allocations: 71.89 kB / 0.6083 GB, free: 9.145 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1537, allocations: 85.87 MB / 0.6921 GB, free: 3.066 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002642/0.1563, allocations: 1.363 MB / 0.6934 GB, free: 1.695 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.1573, allocations: 0.5262 MB / 0.694 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.1574, allocations: 0 / 0.694 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.1575, allocations: 7.922 kB / 0.694 GB, free: 1.16 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1578, allocations: 63.72 kB / 0.694 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.1579, allocations: 51.81 kB / 0.6941 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1581, allocations: 183.6 kB / 0.6942 GB, free: 0.8672 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1582, allocations: 4.188 kB / 0.6943 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1584, allocations: 87.73 kB / 0.6943 GB, free: 0.7773 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1585, allocations: 95.69 kB / 0.6944 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1586, allocations: 12 kB / 0.6944 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1587, allocations: 31.97 kB / 0.6945 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.159, allocations: 67.84 kB / 0.6945 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.1591, allocations: 67.7 kB / 0.6946 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1593, allocations: 155.4 kB / 0.6947 GB, free: 364 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1593, allocations: 0 / 0.6947 GB, free: 364 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1593, allocations: 0 / 0.6947 GB, free: 364 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.1593, allocations: 0 / 0.6947 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.0008437/0.1602, allocations: 401.9 kB / 0.6951 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1602, allocations: 8.031 kB / 0.6951 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.1e-05/0.1603, allocations: 42.75 kB / 0.6952 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.1603, allocations: 16.84 kB / 0.6952 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1606, allocations: 157.8 kB / 0.6953 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1606, allocations: 8.234 kB / 0.6954 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.1606, allocations: 23.94 kB / 0.6954 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.1609, allocations: 179.4 kB / 0.6955 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1609, allocations: 0 / 0.6955 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1609, allocations: 11.94 kB / 0.6956 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.161, allocations: 8 kB / 0.6956 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.1612, allocations: 144.6 kB / 0.6957 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1615, allocations: 241.3 kB / 0.6959 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.1624, allocations: 338.9 kB / 0.6963 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.1627, allocations: 116.7 kB / 0.6964 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.1628, allocations: 11.98 kB / 0.6964 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1629, allocations: 38.56 kB / 0.6964 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.1629, allocations: 4 kB / 0.6964 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0006507/0.1635, allocations: 382 kB / 0.6968 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1636, allocations: 51.41 kB / 0.6968 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1637, allocations: 132.8 kB / 0.697 GB, free: 13.93 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1637, allocations: 33.64 kB / 0.697 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.1638, allocations: 92.64 kB / 0.6971 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1639, allocations: 111.1 kB / 0.6972 GB, free: 13.69 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/0.164, allocations: 62.03 kB / 0.6972 GB, free: 13.62 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1641, allocations: 334.8 kB / 0.6976 GB, free: 13.28 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1643, allocations: 120.6 kB / 0.6977 GB, free: 13.16 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1645, allocations: 137.2 kB / 0.6978 GB, free: 13.03 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.1649, allocations: 274.3 kB / 0.6981 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1649, allocations: 0 / 0.6981 GB, free: 12.76 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005213/0.1654, allocations: 361.9 kB / 0.6984 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1654, allocations: 4 kB / 0.6984 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1654, allocations: 0 / 0.6984 GB, free: 12.4 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1655, allocations: 4 kB / 0.6984 GB, free: 12.39 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1657, allocations: 75.89 kB / 0.6985 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1658, allocations: 0 / 0.6985 GB, free: 12.32 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.1659, allocations: 23.83 kB / 0.6985 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1659, allocations: 8 kB / 0.6985 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.0001133/0.166, allocations: 141.7 kB / 0.6987 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.166, allocations: 15.91 kB / 0.6987 GB, free: 12.12 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.1668, allocations: 395.2 kB / 0.6991 GB, free: 11.73 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1668, allocations: 4 kB / 0.6991 GB, free: 11.72 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1668, allocations: 4 kB / 0.6991 GB, free: 11.72 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1669, allocations: 7.984 kB / 0.6991 GB, free: 11.71 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.1672, allocations: 276.4 kB / 0.6993 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1672, allocations: 0 / 0.6993 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.1676, allocations: 83.91 kB / 0.6994 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1676, allocations: 0 / 0.6994 GB, free: 11.32 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.1676, allocations: 15.98 kB / 0.6994 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1676, allocations: 3.938 kB / 0.6994 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1676, allocations: 0 / 0.6994 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.1684, allocations: 0.5339 MB / 0.7 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1685, allocations: 47.8 kB / 0.7 GB, free: 10.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1685, allocations: 11.98 kB / 0.7 GB, free: 10.69 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1686, allocations: 12 kB / 0.7 GB, free: 10.68 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1687, allocations: 23.95 kB / 0.7 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1687, allocations: 12 kB / 0.7001 GB, free: 10.64 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.1688, allocations: 103.2 kB / 0.7002 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1688, allocations: 0 / 0.7002 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002639/0.169, allocations: 72 kB / 0.7002 GB, free: 10.47 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.001208/0.1702, allocations: 1.094 MB / 0.7013 GB, free: 9.344 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.1707, allocations: 287.6 kB / 0.7016 GB, free: 9.062 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1707, allocations: 4 kB / 0.7016 GB, free: 9.059 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.1709, allocations: 159.8 kB / 0.7017 GB, free: 8.902 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1712, allocations: 31.97 kB / 0.7018 GB, free: 8.871 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.1746, allocations: 2.88 MB / 0.7046 GB, free: 5.914 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.1748, allocations: 136.7 kB / 0.7047 GB, free: 5.75 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.175, allocations: 93.84 kB / 0.7048 GB, free: 5.656 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1751, allocations: 59.42 kB / 0.7048 GB, free: 5.598 MB / 0.5295 GB Notification: Performance of SimCode: time 3.91e-07/0.1751, allocations: 0 / 0.7048 GB, free: 5.598 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.209, allocations: 6.189 MB / 0.7109 GB, free: 15.56 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.72, allocations: 7.562 kB / 0.7109 GB, free: 15.56 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.55474185803905]