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.00083/0.00083, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007915/0.0007915, allocations: 173.9 kB / 23.21 MB, free: 1.355 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 0.8488/0.8488, allocations: 177.2 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.701/1.701, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.941e-05, allocations: 10.22 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5211/0.5211, allocations: 119 MB / 1.117 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.5213, allocations: 56.92 kB / 1.117 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.5213, allocations: 4 kB / 1.117 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.5214, allocations: 6.219 kB / 1.117 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.5215, allocations: 13.17 kB / 1.117 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.5221, allocations: 245.9 kB / 1.117 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.5222, allocations: 37.52 kB / 1.117 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.5222, allocations: 1.547 kB / 1.117 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.5223, allocations: 27.39 kB / 1.117 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.5223, allocations: 13.7 kB / 1.117 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.5223, allocations: 1.25 kB / 1.117 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.5226, allocations: 178.3 kB / 1.118 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.5226, allocations: 5.359 kB / 1.118 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.5227, allocations: 10.27 kB / 1.118 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.5229, allocations: 178.5 kB / 1.118 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5229, allocations: 0.6094 kB / 1.118 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5229, allocations: 5.312 kB / 1.118 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.5229, allocations: 0 / 1.118 GB, free: 10.38 MB / 0.9948 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.0002961/0.5232, allocations: 284.4 kB / 1.118 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5233, allocations: 14.06 kB / 1.118 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.5233, allocations: 5.391 kB / 1.118 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.283e-05/0.5234, allocations: 109.3 kB / 1.118 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.5234, allocations: 57.84 kB / 1.118 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.5234, allocations: 1.594 kB / 1.118 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5235, allocations: 70.05 kB / 1.118 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5235, allocations: 3.938 kB / 1.118 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.5235, allocations: 5.188 kB / 1.118 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5235, allocations: 1.875 kB / 1.118 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.5236, allocations: 16.95 kB / 1.118 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.524, allocations: 244.3 kB / 1.119 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.136e-05/0.5241, allocations: 24.92 kB / 1.119 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.5241, allocations: 6.703 kB / 1.119 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.5241, allocations: 30.44 kB / 1.119 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.5241, allocations: 32.3 kB / 1.119 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.5241, allocations: 8.625 kB / 1.119 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.5242, allocations: 33.16 kB / 1.119 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.5243, allocations: 56.72 kB / 1.119 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.567e-05/0.5243, allocations: 103.9 kB / 1.119 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.5243, allocations: 25.7 kB / 1.119 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.5243, allocations: 91.38 kB / 1.119 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.5243, allocations: 7.953 kB / 1.119 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.5244, allocations: 14.75 kB / 1.119 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.261e-05/0.5244, allocations: 313.8 kB / 1.119 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.5244, allocations: 7.109 kB / 1.119 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.5244, allocations: 23.98 kB / 1.119 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.5244, allocations: 21.02 kB / 1.119 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5244, allocations: 1.188 kB / 1.119 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.426e-05/0.5245, allocations: 50.03 kB / 1.119 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5245, allocations: 5.719 kB / 1.119 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5245, allocations: 0 / 1.119 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5245, allocations: 1.781 kB / 1.119 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.5245, allocations: 5.609 kB / 1.119 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5245, allocations: 8.656 kB / 1.119 GB, free: 8.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.5246, allocations: 6.375 kB / 1.119 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5246, allocations: 2.125 kB / 1.119 GB, free: 8.781 MB / 0.9948 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 3.327e-05/0.5246, allocations: 113.1 kB / 1.12 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.5246, allocations: 5.25 kB / 1.12 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.209e-05/0.5247, allocations: 126.4 kB / 1.12 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5247, allocations: 178.4 kB / 1.12 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5247, allocations: 181.5 kB / 1.12 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5247, allocations: 179.8 kB / 1.12 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.589e-05/0.5248, allocations: 366.3 kB / 1.121 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5248, allocations: 103.5 kB / 1.121 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-06/0.5248, allocations: 110.8 kB / 1.121 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.5248, allocations: 181.9 kB / 1.121 GB, free: 7.199 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5248, allocations: 177.9 kB / 1.121 GB, free: 7.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.5248, allocations: 182.4 kB / 1.121 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.5249, allocations: 182.2 kB / 1.121 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.295e-05/0.5249, allocations: 308.8 kB / 1.122 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.5249, allocations: 107.4 kB / 1.122 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.5249, allocations: 182.9 kB / 1.122 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.525, allocations: 111.4 kB / 1.122 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.525, allocations: 186.2 kB / 1.122 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.525, allocations: 102.1 kB / 1.122 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.525, allocations: 86.12 kB / 1.122 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.525, allocations: 0 / 1.122 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001925/0.5252, allocations: 58.95 kB / 1.123 GB, free: 5.547 MB / 0.9948 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.0002134/0.5255, allocations: 252.1 kB / 1.123 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.953e-05/0.5255, allocations: 15.2 kB / 1.123 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5255, allocations: 0 / 1.123 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.5255, allocations: 1.094 kB / 1.123 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.5257, allocations: 465 kB / 1.123 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.5259, allocations: 199.4 kB / 1.123 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.5259, allocations: 58.75 kB / 1.123 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.5259, allocations: 15.16 kB / 1.123 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of SimCode: time 3.91e-07/0.5259, allocations: 0 / 1.123 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of Templates: time 0.002301/0.5282, allocations: 1.268 MB / 1.125 GB, free: 4.477 MB / 0.9948 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: 6.9794728104025126]