Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001919/0.001919, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002518/0.002518, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.982/2.982, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.565e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1777/0.1777, allocations: 119 MB / 0.927 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001633/0.1779, allocations: 39.83 kB / 0.9271 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.1779, allocations: 0 / 0.9271 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.178, allocations: 7.984 kB / 0.9271 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.1781, allocations: 11.86 kB / 0.9271 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008933/0.179, allocations: 250.8 kB / 0.9273 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.1791, allocations: 39.84 kB / 0.9274 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 2.809e-05/0.1791, allocations: 0 / 0.9274 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.1792, allocations: 19.98 kB / 0.9274 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.1792, allocations: 11.97 kB / 0.9274 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1792, allocations: 4 kB / 0.9274 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.1797, allocations: 179.4 kB / 0.9276 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.1797, allocations: 7.984 kB / 0.9276 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.1798, allocations: 15.92 kB / 0.9276 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1802, allocations: 179.5 kB / 0.9278 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1802, allocations: 0 / 0.9278 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1802, allocations: 0 / 0.9278 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1802, allocations: 0 / 0.9278 GB, free: 9.949 MB / 0.8855 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.0004503/0.1806, allocations: 282.1 kB / 0.928 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1807, allocations: 8.031 kB / 0.928 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1807, allocations: 8.922 kB / 0.928 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1809, allocations: 113.8 kB / 0.9282 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/0.1809, allocations: 51.97 kB / 0.9282 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1809, allocations: 4.375 kB / 0.9282 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1811, allocations: 71.69 kB / 0.9283 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1811, allocations: 0 / 0.9283 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1811, allocations: 0 / 0.9283 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1811, allocations: 4 kB / 0.9283 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.1812, allocations: 19.92 kB / 0.9283 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.1819, allocations: 252.5 kB / 0.9285 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.1819, allocations: 26.52 kB / 0.9286 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.1819, allocations: 8.859 kB / 0.9286 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/0.182, allocations: 28.03 kB / 0.9286 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1821, allocations: 34.56 kB / 0.9286 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1821, allocations: 0 / 0.9286 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.1822, allocations: 41.62 kB / 0.9287 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1823, allocations: 55.41 kB / 0.9287 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.1824, allocations: 93.86 kB / 0.9288 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1824, allocations: 29.7 kB / 0.9288 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.1825, allocations: 92.2 kB / 0.9289 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-06/0.1825, allocations: 7.953 kB / 0.9289 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1825, allocations: 13.72 kB / 0.9289 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1827, allocations: 314.8 kB / 0.9292 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.1827, allocations: 4 kB / 0.9293 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.1827, allocations: 17.7 kB / 0.9293 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.1828, allocations: 25.66 kB / 0.9293 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1828, allocations: 3.938 kB / 0.9293 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.304e-05/0.1829, allocations: 49.69 kB / 0.9293 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1829, allocations: 10.66 kB / 0.9294 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1829, allocations: 4 kB / 0.9294 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1829, allocations: 0 / 0.9294 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.183, allocations: 4 kB / 0.9294 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.183, allocations: 0 / 0.9294 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.183, allocations: 4 kB / 0.9294 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.183, allocations: 0 / 0.9294 GB, free: 8.102 MB / 0.8855 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.166e-05/0.1831, allocations: 113.8 kB / 0.9295 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1831, allocations: 8 kB / 0.9295 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.1833, allocations: 124.9 kB / 0.9296 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.896e-05/0.1833, allocations: 184.2 kB / 0.9298 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001027/0.1835, allocations: 184.3 kB / 0.93 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/0.1836, allocations: 184.2 kB / 0.9301 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.1839, allocations: 352.9 kB / 0.9305 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.47e-05/0.1839, allocations: 112.9 kB / 0.9306 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.184, allocations: 101 kB / 0.9307 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.1841, allocations: 184.3 kB / 0.9308 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.1842, allocations: 184.1 kB / 0.931 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.805e-05/0.1843, allocations: 176.3 kB / 0.9312 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.1844, allocations: 192.2 kB / 0.9314 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1846, allocations: 303.8 kB / 0.9317 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.1847, allocations: 112.8 kB / 0.9318 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.1848, allocations: 184.2 kB / 0.9319 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.185, allocations: 108.9 kB / 0.932 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1851, allocations: 176.5 kB / 0.9322 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.1851, allocations: 112.9 kB / 0.9323 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.63e-05/0.1852, allocations: 87.27 kB / 0.9324 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 0 / 0.9324 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003285/0.1855, allocations: 51.81 kB / 0.9325 GB, free: 4.75 MB / 0.8855 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.0003945/0.1859, allocations: 262.2 kB / 0.9327 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.186, allocations: 11.98 kB / 0.9327 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.186, allocations: 0 / 0.9327 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.186, allocations: 0 / 0.9327 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.1865, allocations: 473.4 kB / 0.9332 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.1868, allocations: 183.4 kB / 0.9333 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.13e-05/0.1869, allocations: 59.34 kB / 0.9334 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.192e-05/0.1869, allocations: 7.938 kB / 0.9334 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.1869, allocations: 12.5 kB / 0.9334 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.1869, allocations: 0 / 0.9334 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of Templates: time 0.004591/0.1915, allocations: 1.374 MB / 0.9348 GB, free: 2.344 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.458618870005012]