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.001391/0.001391, allocations: 79.42 kB / 19.76 MB, free: 1.875 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.001527/0.001527, allocations: 165.6 kB / 23.01 MB, free: 4.598 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.911/2.911, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 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.002235/0.002235, allocations: 71.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9814/0.9836, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1653/1.149, allocations: 119 MB / 1.303 GB, free: 12.66 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/1.149, allocations: 51.75 kB / 1.303 GB, free: 12.62 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/1.149, allocations: 7.938 kB / 1.303 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/1.149, allocations: 3.984 kB / 1.303 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/1.149, allocations: 7 kB / 1.303 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/1.15, allocations: 248.1 kB / 1.303 GB, free: 12.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/1.15, allocations: 36.16 kB / 1.303 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/1.15, allocations: 2.406 kB / 1.303 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/1.15, allocations: 13.12 kB / 1.303 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/1.15, allocations: 18.66 kB / 1.303 GB, free: 12.4 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/1.15, allocations: 1.125 kB / 1.303 GB, free: 12.4 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/1.151, allocations: 176.6 kB / 1.303 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/1.151, allocations: 6 kB / 1.303 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/1.151, allocations: 8.766 kB / 1.303 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/1.151, allocations: 165.1 kB / 1.303 GB, free: 12.23 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.151, allocations: 1.156 kB / 1.303 GB, free: 12.23 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.344e-06/1.151, allocations: 4 kB / 1.303 GB, free: 12.22 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.268e-06/1.151, allocations: 0 / 1.303 GB, free: 12.22 MB / 1.154 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.000434/1.152, allocations: 294.4 kB / 1.304 GB, free: 11.93 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/1.152, allocations: 9.469 kB / 1.304 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/1.152, allocations: 2.469 kB / 1.304 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.152, allocations: 109.3 kB / 1.304 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/1.152, allocations: 53.34 kB / 1.304 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/1.152, allocations: 5.344 kB / 1.304 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/1.152, allocations: 72.03 kB / 1.304 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.152, allocations: 1.375 kB / 1.304 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.152, allocations: 8 kB / 1.304 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/1.152, allocations: 5.469 kB / 1.304 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/1.152, allocations: 12.33 kB / 1.304 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/1.153, allocations: 264.3 kB / 1.304 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/1.153, allocations: 17.52 kB / 1.304 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/1.153, allocations: 5.984 kB / 1.304 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/1.153, allocations: 28.92 kB / 1.304 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.153, allocations: 43.98 kB / 1.304 GB, free: 11.3 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.153, allocations: 4 kB / 1.304 GB, free: 11.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/1.153, allocations: 35.12 kB / 1.304 GB, free: 11.26 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.153, allocations: 52.75 kB / 1.304 GB, free: 11.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/1.153, allocations: 104 kB / 1.305 GB, free: 11.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.153, allocations: 27.02 kB / 1.305 GB, free: 11.06 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/1.153, allocations: 85.41 kB / 1.305 GB, free: 10.98 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/1.153, allocations: 3.953 kB / 1.305 GB, free: 10.97 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/1.153, allocations: 17.69 kB / 1.305 GB, free: 10.95 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.154, allocations: 321 kB / 1.305 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/1.154, allocations: 1.625 kB / 1.305 GB, free: 10.63 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/1.154, allocations: 22.28 kB / 1.305 GB, free: 10.61 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/1.154, allocations: 24.67 kB / 1.305 GB, free: 10.59 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.154, allocations: 0 / 1.305 GB, free: 10.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.978e-05/1.154, allocations: 47.2 kB / 1.305 GB, free: 10.55 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.154, allocations: 4.812 kB / 1.305 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.154, allocations: 1.281 kB / 1.305 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.154, allocations: 5.172 kB / 1.305 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/1.154, allocations: 4.156 kB / 1.305 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.154, allocations: 5.125 kB / 1.305 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/1.154, allocations: 1.031 kB / 1.305 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.154, allocations: 2.219 kB / 1.305 GB, free: 10.54 MB / 1.154 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.26e-05/1.154, allocations: 116 kB / 1.305 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/1.154, allocations: 1.062 kB / 1.305 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.154, allocations: 124.4 kB / 1.305 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001413/1.154, allocations: 177.5 kB / 1.306 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.329e-05/1.154, allocations: 182.4 kB / 1.306 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-05/1.154, allocations: 181.3 kB / 1.306 GB, free: 9.746 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/1.155, allocations: 361.1 kB / 1.306 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/1.155, allocations: 106 kB / 1.306 GB, free: 9.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/1.155, allocations: 110 kB / 1.306 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.179e-05/1.155, allocations: 181.3 kB / 1.307 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/1.155, allocations: 181.3 kB / 1.307 GB, free: 8.77 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.966e-05/1.155, allocations: 177.3 kB / 1.307 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.689e-05/1.155, allocations: 186.4 kB / 1.307 GB, free: 8.402 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/1.155, allocations: 313.3 kB / 1.307 GB, free: 8.078 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/1.155, allocations: 103.4 kB / 1.308 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.156, allocations: 181 kB / 1.308 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/1.156, allocations: 120.6 kB / 1.308 GB, free: 7.668 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/1.156, allocations: 181.4 kB / 1.308 GB, free: 7.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/1.156, allocations: 106 kB / 1.308 GB, free: 7.375 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.954e-05/1.156, allocations: 84.81 kB / 1.308 GB, free: 7.297 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.156, allocations: 0 / 1.308 GB, free: 7.297 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003554/1.156, allocations: 61.67 kB / 1.308 GB, free: 7.273 MB / 1.154 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.0003343/1.157, allocations: 252 kB / 1.308 GB, free: 7.07 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/1.157, allocations: 9.625 kB / 1.308 GB, free: 7.066 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.157, allocations: 1.156 kB / 1.308 GB, free: 7.066 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.157, allocations: 0 / 1.308 GB, free: 7.066 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/1.157, allocations: 465.3 kB / 1.309 GB, free: 6.613 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.158, allocations: 182 kB / 1.309 GB, free: 6.43 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/1.158, allocations: 63.38 kB / 1.309 GB, free: 6.352 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.705e-05/1.158, allocations: 4.125 kB / 1.309 GB, free: 6.352 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/1.158, allocations: 10.53 kB / 1.309 GB, free: 6.344 MB / 1.154 GB Notification: Performance of SimCode: time 4.1e-07/1.158, allocations: 0 / 1.309 GB, free: 6.344 MB / 1.154 GB Notification: Performance of Templates: time 0.004321/1.162, allocations: 1.333 MB / 1.31 GB, free: 5.625 MB / 1.154 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 -s ida -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/jenkins1/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.181491247029044]