Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001773/0.001773, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002539/0.002539, allocations: 214.6 kB / 22.25 MB, free: 5.242 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.535/3.535, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.002551/0.002551, allocations: 72.27 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4376, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1745/0.6121, allocations: 119 MB / 1.48 GB, free: 6.121 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.6123, allocations: 47.83 kB / 1.48 GB, free: 6.074 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.6123, allocations: 0 / 1.48 GB, free: 6.074 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.6124, allocations: 3.984 kB / 1.48 GB, free: 6.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.6125, allocations: 19.92 kB / 1.48 GB, free: 6.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.6135, allocations: 243 kB / 1.48 GB, free: 5.812 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.767e-05/0.6136, allocations: 31.86 kB / 1.48 GB, free: 5.781 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.6137, allocations: 4 kB / 1.48 GB, free: 5.777 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.6137, allocations: 11.98 kB / 1.48 GB, free: 5.766 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.6138, allocations: 19.92 kB / 1.48 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.6138, allocations: 0 / 1.48 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.6142, allocations: 179.5 kB / 1.481 GB, free: 5.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.6143, allocations: 7.984 kB / 1.481 GB, free: 5.562 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.6143, allocations: 11.98 kB / 1.481 GB, free: 5.551 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.6147, allocations: 171.5 kB / 1.481 GB, free: 5.383 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6147, allocations: 0 / 1.481 GB, free: 5.383 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6147, allocations: 0 / 1.481 GB, free: 5.383 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6147, allocations: 0 / 1.481 GB, free: 5.383 MB / 1.17 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.0004904/0.6152, allocations: 286 kB / 1.481 GB, free: 5.074 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6152, allocations: 8.031 kB / 1.481 GB, free: 5.066 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.6153, allocations: 4.938 kB / 1.481 GB, free: 5.062 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6154, allocations: 106.5 kB / 1.481 GB, free: 4.934 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.6155, allocations: 59.97 kB / 1.481 GB, free: 4.863 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.6155, allocations: 3.938 kB / 1.481 GB, free: 4.859 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6156, allocations: 71.36 kB / 1.481 GB, free: 4.777 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6156, allocations: 3.938 kB / 1.481 GB, free: 4.773 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6157, allocations: 0 / 1.481 GB, free: 4.773 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.6157, allocations: 7.938 kB / 1.481 GB, free: 4.766 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.6157, allocations: 15.98 kB / 1.481 GB, free: 4.75 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.6164, allocations: 264.5 kB / 1.482 GB, free: 4.461 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.6165, allocations: 22.58 kB / 1.482 GB, free: 4.43 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.6165, allocations: 4.859 kB / 1.482 GB, free: 4.422 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.6166, allocations: 24.05 kB / 1.482 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.6166, allocations: 42.48 kB / 1.482 GB, free: 4.348 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.6166, allocations: 0 / 1.482 GB, free: 4.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.6168, allocations: 33.7 kB / 1.482 GB, free: 4.309 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6168, allocations: 51.41 kB / 1.482 GB, free: 4.246 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6169, allocations: 101.8 kB / 1.482 GB, free: 4.137 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.617, allocations: 29.7 kB / 1.482 GB, free: 4.102 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.617, allocations: 92.16 kB / 1.482 GB, free: 4.008 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.617, allocations: 7.953 kB / 1.482 GB, free: 4 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.6171, allocations: 13.72 kB / 1.482 GB, free: 3.98 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6172, allocations: 322.8 kB / 1.482 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.6173, allocations: 4 kB / 1.482 GB, free: 3.652 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.6173, allocations: 17.66 kB / 1.482 GB, free: 3.629 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.6173, allocations: 21.7 kB / 1.482 GB, free: 3.602 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6173, allocations: 0 / 1.482 GB, free: 3.602 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.394e-05/0.6174, allocations: 53.64 kB / 1.482 GB, free: 3.543 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6174, allocations: 6.188 kB / 1.482 GB, free: 3.539 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6174, allocations: 0 / 1.482 GB, free: 3.539 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6175, allocations: 3.984 kB / 1.482 GB, free: 3.535 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.6175, allocations: 8 kB / 1.482 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.6175, allocations: 0 / 1.482 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.6175, allocations: 0 / 1.482 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.6175, allocations: 4 kB / 1.482 GB, free: 3.523 MB / 1.17 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.759e-05/0.6176, allocations: 109.8 kB / 1.482 GB, free: 3.406 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.6177, allocations: 4 kB / 1.482 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.6178, allocations: 128.9 kB / 1.483 GB, free: 3.27 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.283e-05/0.6179, allocations: 184.2 kB / 1.483 GB, free: 3.082 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.212e-05/0.618, allocations: 176.3 kB / 1.483 GB, free: 2.902 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/0.6181, allocations: 184.1 kB / 1.483 GB, free: 2.715 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.6183, allocations: 360.8 kB / 1.483 GB, free: 2.324 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.398e-05/0.6184, allocations: 108.9 kB / 1.484 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.6184, allocations: 105 kB / 1.484 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.506e-05/0.6185, allocations: 184.2 kB / 1.484 GB, free: 1.914 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.6186, allocations: 184.3 kB / 1.484 GB, free: 1.727 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.179e-05/0.6187, allocations: 176.3 kB / 1.484 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.274e-05/0.6188, allocations: 184.4 kB / 1.484 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.619, allocations: 319.7 kB / 1.485 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.6191, allocations: 101 kB / 1.485 GB, free: 0.918 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6192, allocations: 180.3 kB / 1.485 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.6193, allocations: 112.9 kB / 1.485 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6194, allocations: 176.5 kB / 1.485 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.6195, allocations: 108.9 kB / 1.485 GB, free: 332 kB / 1.17 GB Notification: Performance of sorting global known variables: time 6.865e-05/0.6196, allocations: 83.28 kB / 1.485 GB, free: 248 kB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6196, allocations: 4 kB / 1.485 GB, free: 244 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003272/0.6199, allocations: 59.73 kB / 1.485 GB, free: 184 kB / 1.17 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.0003576/0.6203, allocations: 250.2 kB / 1.486 GB, free: 15.92 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.6203, allocations: 12 kB / 1.486 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6203, allocations: 0 / 1.486 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.6203, allocations: 128 / 1.486 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6208, allocations: 469.3 kB / 1.486 GB, free: 15.45 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.6211, allocations: 186.1 kB / 1.486 GB, free: 15.24 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.478e-05/0.6212, allocations: 59.34 kB / 1.486 GB, free: 15.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.6212, allocations: 4 kB / 1.486 GB, free: 15.16 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.6213, allocations: 11.44 kB / 1.486 GB, free: 15.15 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.6213, allocations: 3.938 kB / 1.486 GB, free: 15.14 MB / 1.186 GB Notification: Performance of Templates: time 0.004487/0.6258, allocations: 1.335 MB / 1.488 GB, free: 13.81 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.703193791210651]