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.001784/0.001784, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002256/0.002256, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7714 GB, free: 4.414 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 66.97 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1614/0.4627, allocations: 138.7 MB / 1.42 GB, free: 48 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001824/0.4629, allocations: 47.86 kB / 1.42 GB, free: 0 / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.4629, allocations: 0 / 1.42 GB, free: 0 / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.463, allocations: 4.047 kB / 1.42 GB, free: 15.99 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.4631, allocations: 15.91 kB / 1.42 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.464, allocations: 251.6 kB / 1.42 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.4641, allocations: 35.8 kB / 1.42 GB, free: 15.7 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.4641, allocations: 7.984 kB / 1.42 GB, free: 15.69 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.4641, allocations: 11.98 kB / 1.42 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.4642, allocations: 15.92 kB / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.4642, allocations: 4 kB / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.4647, allocations: 255.4 kB / 1.421 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.4648, allocations: 19.91 kB / 1.421 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.4648, allocations: 4 kB / 1.421 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.4652, allocations: 187.5 kB / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4652, allocations: 0 / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.737e-06/0.4652, allocations: 3.984 kB / 1.421 GB, free: 15.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4652, allocations: 4 kB / 1.421 GB, free: 15.19 MB / 1.123 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.0004223/0.4656, allocations: 286 kB / 1.421 GB, free: 14.88 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.4656, allocations: 8.031 kB / 1.421 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.4657, allocations: 0.9375 kB / 1.421 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.4658, allocations: 110.5 kB / 1.421 GB, free: 14.74 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.4659, allocations: 63.89 kB / 1.421 GB, free: 14.67 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.4659, allocations: 7.938 kB / 1.421 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.466, allocations: 41.69 kB / 1.421 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.466, allocations: 0 / 1.421 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.466, allocations: 0 / 1.421 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.466, allocations: 0 / 1.421 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.4661, allocations: 19.98 kB / 1.421 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.4667, allocations: 271.9 kB / 1.422 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.4667, allocations: 22.52 kB / 1.422 GB, free: 14.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.4668, allocations: 12.84 kB / 1.422 GB, free: 14.24 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.756e-05/0.4668, allocations: 24.05 kB / 1.422 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.4669, allocations: 34.56 kB / 1.422 GB, free: 14.17 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4669, allocations: 4 kB / 1.422 GB, free: 14.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.467, allocations: 37.69 kB / 1.422 GB, free: 14.12 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4671, allocations: 55.34 kB / 1.422 GB, free: 14.06 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.4672, allocations: 101.8 kB / 1.422 GB, free: 13.95 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4672, allocations: 25.7 kB / 1.422 GB, free: 13.92 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.4673, allocations: 96.02 kB / 1.422 GB, free: 13.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-06/0.4673, allocations: 3.984 kB / 1.422 GB, free: 13.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.4673, allocations: 17.84 kB / 1.422 GB, free: 13.79 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4674, allocations: 322.8 kB / 1.422 GB, free: 13.47 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.4675, allocations: 3.984 kB / 1.422 GB, free: 13.46 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.4675, allocations: 13.72 kB / 1.422 GB, free: 13.45 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.4676, allocations: 21.72 kB / 1.422 GB, free: 13.42 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4676, allocations: 3.938 kB / 1.422 GB, free: 13.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.179e-05/0.4676, allocations: 53.62 kB / 1.422 GB, free: 13.36 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4677, allocations: 4 kB / 1.422 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.4677, allocations: 4 kB / 1.422 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4677, allocations: 0 / 1.422 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.42e-05/0.4677, allocations: 4 kB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4677, allocations: 3.984 kB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.4677, allocations: 7.953 kB / 1.422 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4678, allocations: 3.938 kB / 1.422 GB, free: 13.33 MB / 1.123 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.627e-05/0.4679, allocations: 113.8 kB / 1.423 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.4679, allocations: 4.281 kB / 1.423 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.468, allocations: 121 kB / 1.423 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.179e-05/0.4681, allocations: 180.2 kB / 1.423 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001189/0.4682, allocations: 180.2 kB / 1.423 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.409e-05/0.4683, allocations: 176.3 kB / 1.423 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.4686, allocations: 388.2 kB / 1.424 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/0.4686, allocations: 104.9 kB / 1.424 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.4687, allocations: 108.9 kB / 1.424 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/0.4688, allocations: 180.2 kB / 1.424 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.4689, allocations: 180.3 kB / 1.424 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.747e-05/0.4689, allocations: 188.2 kB / 1.424 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.862e-05/0.469, allocations: 180.3 kB / 1.424 GB, free: 11.13 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.4692, allocations: 311.9 kB / 1.425 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4692, allocations: 101 kB / 1.425 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4693, allocations: 192.2 kB / 1.425 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4695, allocations: 109 kB / 1.425 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.4696, allocations: 184.2 kB / 1.425 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.4696, allocations: 105 kB / 1.425 GB, free: 10.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.4697, allocations: 83.22 kB / 1.425 GB, free: 10.01 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4697, allocations: 0 / 1.425 GB, free: 10.01 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003343/0.47, allocations: 59.73 kB / 1.426 GB, free: 9.953 MB / 1.123 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.0003398/0.4703, allocations: 250.2 kB / 1.426 GB, free: 9.695 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 7.411e-05/0.4704, allocations: 15.94 kB / 1.426 GB, free: 9.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4704, allocations: 0 / 1.426 GB, free: 9.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.4704, allocations: 128 / 1.426 GB, free: 9.68 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4709, allocations: 461.2 kB / 1.426 GB, free: 9.227 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.4712, allocations: 203.8 kB / 1.426 GB, free: 8.992 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.4715, allocations: 0.6768 MB / 1.427 GB, free: 8.289 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.4716, allocations: 15.44 kB / 1.427 GB, free: 8.273 MB / 1.123 GB Notification: Performance of SimCode: time 2.8e-07/0.4716, allocations: 0 / 1.427 GB, free: 8.273 MB / 1.123 GB Notification: Performance of Templates: time 0.003152/0.4747, allocations: 1.242 MB / 1.428 GB, free: 7.039 MB / 1.123 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.217511800990906]