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.002499/0.002499, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.002827/0.002827, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.889/2.889, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 1.613e-06/1.613e-06, allocations: 0 / 0.7863 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.055e-05, allocations: 10.25 kB / 0.7863 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1996/0.1996, allocations: 130.8 MB / 0.9141 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.000193/0.1998, allocations: 47.8 kB / 0.9142 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.1998, allocations: 0 / 0.9142 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2, allocations: 7.938 kB / 0.9142 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.2, allocations: 15.91 kB / 0.9142 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.201, allocations: 246.8 kB / 0.9144 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.2011, allocations: 27.86 kB / 0.9145 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.2012, allocations: 11.98 kB / 0.9145 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.2012, allocations: 15.98 kB / 0.9145 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.2013, allocations: 11.98 kB / 0.9145 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2013, allocations: 7.922 kB / 0.9145 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.2018, allocations: 179.4 kB / 0.9147 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.2019, allocations: 8 kB / 0.9147 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.2019, allocations: 7.984 kB / 0.9147 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.2024, allocations: 175.5 kB / 0.9149 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2024, allocations: 4 kB / 0.9149 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2024, allocations: 0 / 0.9149 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2024, allocations: 4 kB / 0.9149 GB, free: 8.668 MB / 0.8698 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.0005661/0.203, allocations: 388 kB / 0.9152 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.203, allocations: 8.031 kB / 0.9152 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.2031, allocations: 4.938 kB / 0.9152 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2032, allocations: 108.6 kB / 0.9153 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/0.2033, allocations: 59.95 kB / 0.9154 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2033, allocations: 384 / 0.9154 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.2035, allocations: 75.64 kB / 0.9155 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2035, allocations: 0 / 0.9155 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2035, allocations: 3.938 kB / 0.9155 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.2035, allocations: 4 kB / 0.9155 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.2036, allocations: 11.98 kB / 0.9155 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.2043, allocations: 307.7 kB / 0.9158 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/0.2044, allocations: 31 kB / 0.9158 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.2044, allocations: 15.69 kB / 0.9158 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.2045, allocations: 35.97 kB / 0.9159 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.2045, allocations: 33.39 kB / 0.9159 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2045, allocations: 0 / 0.9159 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.2047, allocations: 41.7 kB / 0.9159 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.2048, allocations: 51.41 kB / 0.916 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2049, allocations: 165.9 kB / 0.9161 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2049, allocations: 25.7 kB / 0.9162 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.2053, allocations: 130.8 kB / 0.9163 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-06/0.2053, allocations: 3.953 kB / 0.9163 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.2053, allocations: 27.36 kB / 0.9163 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002681/0.2056, allocations: 496.1 kB / 0.9168 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.2056, allocations: 3.938 kB / 0.9168 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.2056, allocations: 23.56 kB / 0.9168 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.2057, allocations: 31.48 kB / 0.9169 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2057, allocations: 3.938 kB / 0.9169 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.978e-05/0.2058, allocations: 45.73 kB / 0.9169 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2058, allocations: 8 kB / 0.9169 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2058, allocations: 7.969 kB / 0.9169 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2058, allocations: 0 / 0.9169 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.2059, allocations: 4 kB / 0.9169 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2059, allocations: 0 / 0.9169 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.2059, allocations: 4.062 kB / 0.9169 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2059, allocations: 4 kB / 0.9169 GB, free: 6.316 MB / 0.8698 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.0001265/0.2061, allocations: 164.5 kB / 0.9171 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2061, allocations: 0 / 0.9171 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.2062, allocations: 171.6 kB / 0.9173 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001406/0.2064, allocations: 264.1 kB / 0.9175 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001466/0.2065, allocations: 272 kB / 0.9178 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001582/0.2067, allocations: 268.1 kB / 0.918 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.2071, allocations: 495.9 kB / 0.9185 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.744e-05/0.2071, allocations: 152.8 kB / 0.9186 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.2072, allocations: 153 kB / 0.9188 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.2074, allocations: 284 kB / 0.9191 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/0.2075, allocations: 264.1 kB / 0.9193 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001491/0.2077, allocations: 272 kB / 0.9196 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000148/0.2078, allocations: 264.1 kB / 0.9198 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.2081, allocations: 448 kB / 0.9202 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.2082, allocations: 152.8 kB / 0.9204 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.2084, allocations: 272 kB / 0.9206 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2086, allocations: 152.9 kB / 0.9208 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.2087, allocations: 268.1 kB / 0.9211 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/0.2088, allocations: 156.8 kB / 0.9212 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.2089, allocations: 127.2 kB / 0.9213 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2089, allocations: 0 / 0.9213 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003712/0.2093, allocations: 55.8 kB / 0.9214 GB, free: 1.57 MB / 0.8698 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.0004811/0.2098, allocations: 298.1 kB / 0.9217 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.2098, allocations: 19.69 kB / 0.9217 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2098, allocations: 4 kB / 0.9217 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.2099, allocations: 3.938 kB / 0.9217 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.2105, allocations: 0.7119 MB / 0.9224 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.2109, allocations: 229.1 kB / 0.9226 GB, free: 280 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.211, allocations: 59.34 kB / 0.9227 GB, free: 200 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.211, allocations: 12.06 kB / 0.9227 GB, free: 188 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.211, allocations: 8.5 kB / 0.9227 GB, free: 180 kB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/0.211, allocations: 0 / 0.9227 GB, free: 180 kB / 0.8698 GB Notification: Performance of Templates: time 0.005343/0.2164, allocations: 1.375 MB / 0.924 GB, free: 14.81 MB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] 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.235927270026878]