Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001822/0.001822, allocations: 84.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002214/0.002214, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.184 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.457e-05, allocations: 3 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1843/0.1843, allocations: 119 MB / 0.9938 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.1845, allocations: 43.8 kB / 0.9938 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.1846, allocations: 4 kB / 0.9938 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1847, allocations: 3.938 kB / 0.9938 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1848, allocations: 15.8 kB / 0.9939 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1859, allocations: 246.8 kB / 0.9941 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.186, allocations: 35.86 kB / 0.9941 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.186, allocations: 7.922 kB / 0.9941 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.186, allocations: 19.97 kB / 0.9942 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1861, allocations: 7.938 kB / 0.9942 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1861, allocations: 8 kB / 0.9942 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.1867, allocations: 183.4 kB / 0.9943 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1867, allocations: 7.984 kB / 0.9944 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1868, allocations: 4 kB / 0.9944 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.1872, allocations: 179.5 kB / 0.9945 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1872, allocations: 0 / 0.9945 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1872, allocations: 0 / 0.9945 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1872, allocations: 0 / 0.9945 GB, free: 14.32 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005502/0.1878, allocations: 290 kB / 0.9948 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1878, allocations: 8.031 kB / 0.9948 GB, free: 14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1879, allocations: 8.938 kB / 0.9948 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.188, allocations: 101.8 kB / 0.9949 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1881, allocations: 55.95 kB / 0.995 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1881, allocations: 8.312 kB / 0.995 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1883, allocations: 71.7 kB / 0.9951 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1883, allocations: 0 / 0.9951 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1883, allocations: 3.984 kB / 0.9951 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1883, allocations: 7.938 kB / 0.9951 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.1884, allocations: 11.98 kB / 0.9951 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.1892, allocations: 260.5 kB / 0.9953 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.1892, allocations: 30.44 kB / 0.9954 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.1892, allocations: 4.859 kB / 0.9954 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-05/0.1893, allocations: 32.03 kB / 0.9954 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.1894, allocations: 34.56 kB / 0.9954 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1894, allocations: 0 / 0.9954 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001904/0.1896, allocations: 33.66 kB / 0.9955 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.1896, allocations: 59.34 kB / 0.9955 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1897, allocations: 101.8 kB / 0.9956 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1898, allocations: 29.83 kB / 0.9956 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.1898, allocations: 88.09 kB / 0.9957 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.1898, allocations: 0 / 0.9957 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1899, allocations: 21.7 kB / 0.9957 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1901, allocations: 310.8 kB / 0.996 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.1901, allocations: 4 kB / 0.996 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.1901, allocations: 17.72 kB / 0.9961 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.1902, allocations: 21.7 kB / 0.9961 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1902, allocations: 3.938 kB / 0.9961 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001041/0.1903, allocations: 53.62 kB / 0.9961 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1903, allocations: 4 kB / 0.9961 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1903, allocations: 4 kB / 0.9961 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1903, allocations: 0 / 0.9961 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.1904, allocations: 8 kB / 0.9961 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1904, allocations: 0 / 0.9961 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.1904, allocations: 11.95 kB / 0.9962 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1904, allocations: 3.938 kB / 0.9962 GB, free: 12.45 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.0001082/0.1905, allocations: 113.8 kB / 0.9963 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1906, allocations: 4.062 kB / 0.9963 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1907, allocations: 121 kB / 0.9964 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001044/0.1908, allocations: 184.2 kB / 0.9966 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001112/0.1909, allocations: 184.3 kB / 0.9967 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002756/0.1912, allocations: 184.2 kB / 0.9969 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1915, allocations: 356.8 kB / 0.9973 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-05/0.1916, allocations: 104.9 kB / 0.9974 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.1916, allocations: 108.9 kB / 0.9975 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.1918, allocations: 180.3 kB / 0.9976 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.1919, allocations: 176.3 kB / 0.9978 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/0.192, allocations: 184.2 kB / 0.998 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001059/0.1921, allocations: 184.3 kB / 0.9982 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1923, allocations: 303.8 kB / 0.9984 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.1924, allocations: 108.9 kB / 0.9985 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.1925, allocations: 188.1 kB / 0.9987 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1927, allocations: 113 kB / 0.9988 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1928, allocations: 180.2 kB / 0.999 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/0.1929, allocations: 109 kB / 0.9991 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.193, allocations: 83.27 kB / 0.9992 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.193, allocations: 0 / 0.9992 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004124/0.1934, allocations: 51.81 kB / 0.9992 GB, free: 9.113 MB / 0.9636 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 (0): * Single equations (assignments): 0 * 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.000427/0.1938, allocations: 258.4 kB / 0.9995 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.1939, allocations: 7.938 kB / 0.9995 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1939, allocations: 0 / 0.9995 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.608e-06/0.1939, allocations: 8.125 kB / 0.9995 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.1944, allocations: 471.6 kB / 0.9999 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.1947, allocations: 175.4 kB / 1 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.1948, allocations: 59.58 kB / 1 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.1949, allocations: 11.92 kB / 1 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1949, allocations: 12.48 kB / 1 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.1949, allocations: 4 kB / 1 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of Templates: time 0.004706/0.1996, allocations: 1.366 MB / 1.002 GB, free: 6.715 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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: 8.372693862998858]