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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 200 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00196/0.00196, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9044, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1756/1.08, allocations: 135.8 MB / 1.407 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001855/1.08, allocations: 51.8 kB / 1.407 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/1.08, allocations: 0 / 1.407 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/1.08, allocations: 0 / 1.407 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/1.08, allocations: 19.91 kB / 1.407 GB, free: 12.1 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/1.081, allocations: 243.4 kB / 1.407 GB, free: 11.86 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/1.082, allocations: 35.78 kB / 1.407 GB, free: 11.82 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/1.082, allocations: 11.98 kB / 1.407 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/1.082, allocations: 15.98 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/1.082, allocations: 7.984 kB / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/1.082, allocations: 8 kB / 1.407 GB, free: 11.78 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/1.082, allocations: 247.4 kB / 1.407 GB, free: 11.54 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/1.082, allocations: 11.92 kB / 1.407 GB, free: 11.53 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/1.082, allocations: 7.984 kB / 1.407 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/1.083, allocations: 190.2 kB / 1.407 GB, free: 11.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.083, allocations: 3.984 kB / 1.407 GB, free: 11.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.102e-06/1.083, allocations: 0 / 1.407 GB, free: 11.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.083, allocations: 0 / 1.407 GB, free: 11.34 MB / 1.107 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.0005025/1.083, allocations: 357.6 kB / 1.408 GB, free: 10.94 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.083, allocations: 12.03 kB / 1.408 GB, free: 10.93 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/1.083, allocations: 4.938 kB / 1.408 GB, free: 10.93 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.083, allocations: 164.4 kB / 1.408 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/1.083, allocations: 30.27 kB / 1.408 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/1.083, allocations: 11.92 kB / 1.408 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/1.084, allocations: 49.56 kB / 1.408 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.084, allocations: 0 / 1.408 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.084, allocations: 0 / 1.408 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/1.084, allocations: 0 / 1.408 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/1.084, allocations: 23.98 kB / 1.408 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/1.085, allocations: 0.5988 MB / 1.409 GB, free: 9.879 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/1.085, allocations: 14.58 kB / 1.409 GB, free: 9.855 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/1.085, allocations: 8.922 kB / 1.409 GB, free: 9.844 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/1.085, allocations: 332.4 kB / 1.409 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.519e-05/1.085, allocations: 42.5 kB / 1.409 GB, free: 9.395 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.085, allocations: 4 kB / 1.409 GB, free: 9.391 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.000153/1.085, allocations: 33.69 kB / 1.409 GB, free: 9.352 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.085, allocations: 51.41 kB / 1.409 GB, free: 9.289 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/1.085, allocations: 105.8 kB / 1.409 GB, free: 9.176 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.085, allocations: 25.7 kB / 1.409 GB, free: 9.145 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/1.085, allocations: 88.08 kB / 1.409 GB, free: 9.055 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-06/1.085, allocations: 4.125 kB / 1.409 GB, free: 9.051 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/1.085, allocations: 21.67 kB / 1.409 GB, free: 9.023 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002156/1.086, allocations: 318.8 kB / 1.41 GB, free: 8.703 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/1.086, allocations: 3.984 kB / 1.41 GB, free: 8.699 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/1.086, allocations: 25.66 kB / 1.41 GB, free: 8.668 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/1.086, allocations: 21.72 kB / 1.41 GB, free: 8.641 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.086, allocations: 0 / 1.41 GB, free: 8.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.139e-05/1.086, allocations: 49.62 kB / 1.41 GB, free: 8.586 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.086, allocations: 4 kB / 1.41 GB, free: 8.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/1.086, allocations: 4 kB / 1.41 GB, free: 8.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.086, allocations: 288 / 1.41 GB, free: 8.578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/1.086, allocations: 4 kB / 1.41 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.086, allocations: 3.984 kB / 1.41 GB, free: 8.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/1.086, allocations: 4 kB / 1.41 GB, free: 8.566 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.086, allocations: 3.938 kB / 1.41 GB, free: 8.562 MB / 1.107 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 8.415e-05/1.086, allocations: 114.4 kB / 1.41 GB, free: 8.441 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/1.086, allocations: 7.984 kB / 1.41 GB, free: 8.434 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/1.086, allocations: 120.9 kB / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.188e-05/1.086, allocations: 176.3 kB / 1.41 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-05/1.086, allocations: 184.2 kB / 1.41 GB, free: 7.938 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.753e-05/1.086, allocations: 180.3 kB / 1.411 GB, free: 7.754 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/1.087, allocations: 409.2 kB / 1.411 GB, free: 7.297 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.693e-05/1.087, allocations: 108.9 kB / 1.411 GB, free: 7.184 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/1.087, allocations: 105 kB / 1.411 GB, free: 7.074 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.77e-05/1.087, allocations: 184.2 kB / 1.411 GB, free: 6.887 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.702e-05/1.087, allocations: 176.3 kB / 1.411 GB, free: 6.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.002e-05/1.087, allocations: 184.2 kB / 1.412 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.982e-05/1.087, allocations: 184.2 kB / 1.412 GB, free: 6.332 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/1.087, allocations: 315.6 kB / 1.412 GB, free: 6 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/1.087, allocations: 178.3 kB / 1.412 GB, free: 5.801 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/1.088, allocations: 184.3 kB / 1.412 GB, free: 5.613 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.088, allocations: 124.9 kB / 1.413 GB, free: 5.484 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.088, allocations: 176.3 kB / 1.413 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/1.088, allocations: 108.9 kB / 1.413 GB, free: 5.191 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.919e-05/1.088, allocations: 83.22 kB / 1.413 GB, free: 5.109 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 1.413 GB, free: 5.109 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003669/1.088, allocations: 59.73 kB / 1.413 GB, free: 5.051 MB / 1.107 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.0003584/1.089, allocations: 255.5 kB / 1.413 GB, free: 4.793 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.655e-05/1.089, allocations: 8 kB / 1.413 GB, free: 4.785 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.089, allocations: 4.125 kB / 1.413 GB, free: 4.781 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/1.089, allocations: 3.938 kB / 1.413 GB, free: 4.777 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/1.089, allocations: 461.4 kB / 1.414 GB, free: 4.324 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/1.09, allocations: 185.8 kB / 1.414 GB, free: 4.117 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/1.09, allocations: 0.6768 MB / 1.415 GB, free: 3.414 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.618e-05/1.09, allocations: 8 kB / 1.415 GB, free: 3.406 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/1.09, allocations: 7.438 kB / 1.415 GB, free: 3.398 MB / 1.107 GB Notification: Performance of SimCode: time 6.41e-07/1.09, allocations: 0 / 1.415 GB, free: 3.398 MB / 1.107 GB Notification: Performance of Templates: time 0.004329/1.094, allocations: 1.308 MB / 1.416 GB, free: 2.094 MB / 1.107 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 -s cvode -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_2/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: 9.283737810794264]