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.001865/0.001865, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002704/0.002704, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.751/2.751, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 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.124e-06/2.124e-06, allocations: 0 / 0.9509 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.807e-05, allocations: 4.531 kB / 0.9509 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1788/0.1789, allocations: 119 MB / 1.067 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.1791, allocations: 55.73 kB / 1.067 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.1792, allocations: 0 / 1.067 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.1793, allocations: 3.938 kB / 1.067 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1795, allocations: 15.81 kB / 1.067 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1807, allocations: 250.7 kB / 1.067 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1808, allocations: 31.84 kB / 1.068 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.1809, allocations: 8 kB / 1.068 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.1809, allocations: 19.97 kB / 1.068 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.181, allocations: 7.984 kB / 1.068 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1811, allocations: 3.938 kB / 1.068 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.1816, allocations: 183.4 kB / 1.068 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.1817, allocations: 11.98 kB / 1.068 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1817, allocations: 11.98 kB / 1.068 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.1822, allocations: 175.5 kB / 1.068 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1822, allocations: 0 / 1.068 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1822, allocations: 0 / 1.068 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1822, allocations: 0 / 1.068 GB, free: 3.289 MB / 0.9669 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.0005632/0.1828, allocations: 290 kB / 1.068 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1828, allocations: 12.03 kB / 1.068 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1829, allocations: 0.9375 kB / 1.068 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.183, allocations: 105.8 kB / 1.068 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.86e-05/0.1831, allocations: 51.97 kB / 1.068 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1831, allocations: 4.375 kB / 1.068 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1833, allocations: 83.62 kB / 1.068 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1833, allocations: 0 / 1.068 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1833, allocations: 0 / 1.068 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.1833, allocations: 3.938 kB / 1.068 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.1834, allocations: 11.98 kB / 1.068 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.1842, allocations: 252.5 kB / 1.069 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.1843, allocations: 26.45 kB / 1.069 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.1843, allocations: 4.859 kB / 1.069 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.873e-05/0.1844, allocations: 28.05 kB / 1.069 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.1844, allocations: 38.55 kB / 1.069 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 3.226e-06/0.1844, allocations: 3.984 kB / 1.069 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.1846, allocations: 37.66 kB / 1.069 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1846, allocations: 55.41 kB / 1.069 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1847, allocations: 101.8 kB / 1.069 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.1848, allocations: 25.7 kB / 1.069 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.1848, allocations: 95.97 kB / 1.069 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/0.1848, allocations: 0 / 1.069 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1849, allocations: 17.84 kB / 1.069 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.185, allocations: 318.8 kB / 1.069 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.1851, allocations: 4 kB / 1.069 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.1851, allocations: 13.72 kB / 1.069 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.1852, allocations: 25.7 kB / 1.069 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1852, allocations: 3.938 kB / 1.069 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.791e-05/0.1853, allocations: 49.59 kB / 1.07 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1853, allocations: 4 kB / 1.07 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1853, allocations: 64 / 1.07 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1853, allocations: 8 kB / 1.07 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.1854, allocations: 7.984 kB / 1.07 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1854, allocations: 0 / 1.07 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.1854, allocations: 0 / 1.07 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1854, allocations: 8 kB / 1.07 GB, free: 1.43 MB / 0.9669 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.0001193/0.1855, allocations: 113.8 kB / 1.07 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1855, allocations: 4 kB / 1.07 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.1857, allocations: 124.9 kB / 1.07 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.566e-05/0.1858, allocations: 176.3 kB / 1.07 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.644e-05/0.1859, allocations: 184.2 kB / 1.07 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.815e-05/0.186, allocations: 184.3 kB / 1.07 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1862, allocations: 360.8 kB / 1.071 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/0.1863, allocations: 104.9 kB / 1.071 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.1864, allocations: 101 kB / 1.071 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.1865, allocations: 196.1 kB / 1.071 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/0.1866, allocations: 176.3 kB / 1.071 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.826e-05/0.1867, allocations: 180.2 kB / 1.071 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001024/0.1868, allocations: 180.3 kB / 1.072 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.187, allocations: 307.8 kB / 1.072 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.1871, allocations: 112.8 kB / 1.072 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.1872, allocations: 188.2 kB / 1.072 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1873, allocations: 109 kB / 1.072 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1874, allocations: 180.3 kB / 1.072 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.1875, allocations: 104.9 kB / 1.072 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.164e-05/0.1876, allocations: 87.28 kB / 1.073 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.1876, allocations: 0 / 1.073 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003554/0.1879, allocations: 59.73 kB / 1.073 GB, free: 14.08 MB / 0.9825 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.0004436/0.1884, allocations: 258.2 kB / 1.073 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.1884, allocations: 4 kB / 1.073 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.1885, allocations: 0 / 1.073 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.1885, allocations: 11.94 kB / 1.073 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.189, allocations: 463.8 kB / 1.073 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.1893, allocations: 176.2 kB / 1.073 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/0.1894, allocations: 63.34 kB / 1.074 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.1894, allocations: 4 kB / 1.074 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.1894, allocations: 8.5 kB / 1.074 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.1894, allocations: 0 / 1.074 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.004923/0.1944, allocations: 1.356 MB / 1.075 GB, free: 11.71 MB / 0.9825 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: 8.288085885345936]