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.001283/0.001283, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001378/0.001378, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.053/1.053, allocations: 120.6 MB / 435.3 MB, free: 0.8203 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.001902/0.001902, allocations: 74.22 kB / 0.6091 GB, free: 9.309 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1691, allocations: 85.86 MB / 0.693 GB, free: 3.23 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.0028/0.1719, allocations: 1.399 MB / 0.6943 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.173, allocations: 0.5768 MB / 0.6949 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.1731, allocations: 0 / 0.6949 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.1732, allocations: 7.922 kB / 0.6949 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1735, allocations: 63.72 kB / 0.695 GB, free: 1.176 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1736, allocations: 43.89 kB / 0.695 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1739, allocations: 195.5 kB / 0.6952 GB, free: 0.9414 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.1739, allocations: 8.172 kB / 0.6952 GB, free: 0.9336 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1741, allocations: 87.73 kB / 0.6953 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1743, allocations: 95.75 kB / 0.6954 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.1743, allocations: 8 kB / 0.6954 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1744, allocations: 31.98 kB / 0.6954 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1746, allocations: 75.78 kB / 0.6955 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.1747, allocations: 71.64 kB / 0.6955 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1749, allocations: 147.4 kB / 0.6957 GB, free: 436 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1749, allocations: 0 / 0.6957 GB, free: 436 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1749, allocations: 0 / 0.6957 GB, free: 436 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1749, allocations: 0 / 0.6957 GB, free: 436 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.0008601/0.1758, allocations: 401.9 kB / 0.6961 GB, free: 0 / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.1758, allocations: 8.078 kB / 0.6961 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.316e-05/0.1759, allocations: 4.422 kB / 0.6961 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1759, allocations: 42.69 kB / 0.6961 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.176, allocations: 16.84 kB / 0.6961 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1762, allocations: 161.6 kB / 0.6963 GB, free: 15.74 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1762, allocations: 16.23 kB / 0.6963 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.1763, allocations: 19.95 kB / 0.6963 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1766, allocations: 175.4 kB / 0.6965 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1766, allocations: 0 / 0.6965 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1766, allocations: 4 kB / 0.6965 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1766, allocations: 4 kB / 0.6965 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1769, allocations: 144.5 kB / 0.6966 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1773, allocations: 253.2 kB / 0.6969 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1783, allocations: 354.7 kB / 0.6972 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1785, allocations: 112.8 kB / 0.6973 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1786, allocations: 11.98 kB / 0.6973 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1786, allocations: 38.56 kB / 0.6974 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=28): time 3.146e-06/0.1786, allocations: 3.984 kB / 0.6974 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of matching and sorting (n=28): time 0.0007026/0.1793, allocations: 378.1 kB / 0.6977 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1794, allocations: 55.41 kB / 0.6978 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1795, allocations: 128.5 kB / 0.6979 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1796, allocations: 33.7 kB / 0.6979 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1796, allocations: 92.62 kB / 0.698 GB, free: 13.85 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1797, allocations: 115.1 kB / 0.6981 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1798, allocations: 65.95 kB / 0.6982 GB, free: 13.66 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.18, allocations: 338.8 kB / 0.6985 GB, free: 13.32 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.1802, allocations: 116.6 kB / 0.6986 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1804, allocations: 133.2 kB / 0.6988 GB, free: 13.08 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.1808, allocations: 274.3 kB / 0.699 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1808, allocations: 4 kB / 0.699 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000567/0.1814, allocations: 361.9 kB / 0.6994 GB, free: 12.45 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1814, allocations: 4 kB / 0.6994 GB, free: 12.45 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1814, allocations: 0 / 0.6994 GB, free: 12.45 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1814, allocations: 4 kB / 0.6994 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.1818, allocations: 75.91 kB / 0.6995 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1818, allocations: 0 / 0.6995 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1819, allocations: 23.83 kB / 0.6995 GB, free: 12.34 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.1819, allocations: 8 kB / 0.6995 GB, free: 12.34 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.0001455/0.182, allocations: 141.7 kB / 0.6996 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.1821, allocations: 15.91 kB / 0.6996 GB, free: 12.17 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/0.1828, allocations: 403.2 kB / 0.7 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1828, allocations: 4 kB / 0.7 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1828, allocations: 4 kB / 0.7 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1828, allocations: 0 / 0.7 GB, free: 11.76 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.1831, allocations: 292.2 kB / 0.7003 GB, free: 11.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1831, allocations: 0 / 0.7003 GB, free: 11.43 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.1836, allocations: 83.91 kB / 0.7004 GB, free: 11.35 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1836, allocations: 0 / 0.7004 GB, free: 11.35 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.1836, allocations: 19.98 kB / 0.7004 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1836, allocations: 0 / 0.7004 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1836, allocations: 0 / 0.7004 GB, free: 11.33 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.1844, allocations: 0.53 MB / 0.7009 GB, free: 10.78 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1845, allocations: 47.8 kB / 0.701 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.1846, allocations: 11.98 kB / 0.701 GB, free: 10.72 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1847, allocations: 11.94 kB / 0.701 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1848, allocations: 23.95 kB / 0.701 GB, free: 10.69 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1848, allocations: 16 kB / 0.701 GB, free: 10.67 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.1849, allocations: 107.2 kB / 0.7011 GB, free: 10.57 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1849, allocations: 0 / 0.7011 GB, free: 10.57 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002777/0.1851, allocations: 71.94 kB / 0.7012 GB, free: 10.5 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.001234/0.1864, allocations: 1.083 MB / 0.7023 GB, free: 9.383 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005095/0.1869, allocations: 291.6 kB / 0.7025 GB, free: 9.098 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1869, allocations: 0 / 0.7025 GB, free: 9.098 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1871, allocations: 160 kB / 0.7027 GB, free: 8.941 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1874, allocations: 33.67 kB / 0.7027 GB, free: 8.91 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.1911, allocations: 2.892 MB / 0.7055 GB, free: 5.941 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1915, allocations: 0.7487 MB / 0.7063 GB, free: 5.164 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.1917, allocations: 89.86 kB / 0.7064 GB, free: 5.07 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1918, allocations: 63.42 kB / 0.7064 GB, free: 5.008 MB / 0.5295 GB Notification: Performance of SimCode: time 4.61e-07/0.1918, allocations: 0 / 0.7064 GB, free: 5.008 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.2195, allocations: 5.923 MB / 0.7122 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.84, allocations: 8.375 kB / 0.7122 GB, free: 15.24 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.870270829997025]