Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001422/0.001422, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001849/0.001849, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.777/2.777, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.977e-05/4.268e-05, allocations: 5.125 kB / 0.7863 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1828/0.1828, allocations: 119 MB / 0.9026 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001805/0.183, allocations: 51.72 kB / 0.9026 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/0.183, allocations: 4 kB / 0.9026 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1831, allocations: 4 kB / 0.9026 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.1832, allocations: 11.86 kB / 0.9026 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000894/0.1841, allocations: 250.8 kB / 0.9029 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.1842, allocations: 35.84 kB / 0.9029 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.012e-05/0.1842, allocations: 0 / 0.9029 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.1843, allocations: 23.97 kB / 0.9029 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.1844, allocations: 15.92 kB / 0.903 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1844, allocations: 0 / 0.903 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.1848, allocations: 175.4 kB / 0.9031 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1848, allocations: 7.984 kB / 0.9031 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.1849, allocations: 15.98 kB / 0.9031 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1852, allocations: 175.5 kB / 0.9033 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1852, allocations: 3.938 kB / 0.9033 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1852, allocations: 0 / 0.9033 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1852, allocations: 4 kB / 0.9033 GB, free: 3.578 MB / 0.8073 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.0004715/0.1857, allocations: 282.1 kB / 0.9036 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1857, allocations: 8.031 kB / 0.9036 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1858, allocations: 4.938 kB / 0.9036 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1859, allocations: 101.8 kB / 0.9037 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.186, allocations: 55.97 kB / 0.9038 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.186, allocations: 4.375 kB / 0.9038 GB, free: 3.066 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1862, allocations: 71.7 kB / 0.9038 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1862, allocations: 3.984 kB / 0.9038 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1862, allocations: 0 / 0.9038 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1862, allocations: 7.938 kB / 0.9038 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.1863, allocations: 19.92 kB / 0.9039 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.1872, allocations: 248.5 kB / 0.9041 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.1872, allocations: 22.52 kB / 0.9041 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1873, allocations: 8.859 kB / 0.9041 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.1874, allocations: 36.03 kB / 0.9042 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1874, allocations: 38.55 kB / 0.9042 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1874, allocations: 0 / 0.9042 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.1876, allocations: 33.64 kB / 0.9042 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.1876, allocations: 55.41 kB / 0.9043 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1877, allocations: 105.8 kB / 0.9044 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1878, allocations: 25.7 kB / 0.9044 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.1878, allocations: 92.09 kB / 0.9045 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.1878, allocations: 3.953 kB / 0.9045 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1879, allocations: 17.84 kB / 0.9045 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.188, allocations: 314.8 kB / 0.9048 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.1881, allocations: 8 kB / 0.9048 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.1881, allocations: 13.72 kB / 0.9048 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.1881, allocations: 25.66 kB / 0.9049 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1882, allocations: 3.938 kB / 0.9049 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001006/0.1883, allocations: 49.62 kB / 0.9049 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1883, allocations: 4 kB / 0.9049 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1883, allocations: 8.062 kB / 0.9049 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1883, allocations: 0 / 0.9049 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.1883, allocations: 11.98 kB / 0.9049 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1883, allocations: 0 / 0.9049 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.1884, allocations: 4 kB / 0.9049 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1884, allocations: 0 / 0.9049 GB, free: 1.723 MB / 0.8073 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 9.507e-05/0.1885, allocations: 113.8 kB / 0.905 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1885, allocations: 0 / 0.905 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.1886, allocations: 124.9 kB / 0.9052 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/0.1887, allocations: 180.5 kB / 0.9053 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.1888, allocations: 188.3 kB / 0.9055 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/0.1889, allocations: 184.1 kB / 0.9057 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.1892, allocations: 356.9 kB / 0.906 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.756e-05/0.1893, allocations: 112.8 kB / 0.9061 GB, free: 416 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.1894, allocations: 101 kB / 0.9062 GB, free: 308 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-05/0.1895, allocations: 180.3 kB / 0.9064 GB, free: 120 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.1896, allocations: 184.2 kB / 0.9066 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/0.1897, allocations: 188.2 kB / 0.9068 GB, free: 15.74 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001006/0.1898, allocations: 180.2 kB / 0.9069 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.19, allocations: 299.8 kB / 0.9072 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.1901, allocations: 120.8 kB / 0.9073 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.1902, allocations: 180.3 kB / 0.9075 GB, free: 14.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1904, allocations: 108.9 kB / 0.9076 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.1905, allocations: 180.2 kB / 0.9078 GB, free: 14.63 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.1905, allocations: 109 kB / 0.9079 GB, free: 14.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.1906, allocations: 87.22 kB / 0.908 GB, free: 14.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1906, allocations: 0 / 0.908 GB, free: 14.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003316/0.1909, allocations: 55.73 kB / 0.908 GB, free: 14.38 MB / 0.823 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.000389/0.1913, allocations: 258.4 kB / 0.9083 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.771e-05/0.1914, allocations: 8 kB / 0.9083 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1914, allocations: 0 / 0.9083 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.1914, allocations: 0 / 0.9083 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.1919, allocations: 471.6 kB / 0.9087 GB, free: 13.64 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.1922, allocations: 179.5 kB / 0.9089 GB, free: 13.45 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.1923, allocations: 59.34 kB / 0.909 GB, free: 13.37 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.1923, allocations: 4 kB / 0.909 GB, free: 13.36 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1924, allocations: 12.5 kB / 0.909 GB, free: 13.35 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.1924, allocations: 0 / 0.909 GB, free: 13.35 MB / 0.823 GB Notification: Performance of Templates: time 0.004598/0.197, allocations: 1.378 MB / 0.9103 GB, free: 11.98 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.8895397840533406]