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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 111.6 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 192.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.64 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3128, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6461/0.9589, allocations: 133.5 MB / 1.194 GB, free: 11.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.9591, allocations: 56.56 kB / 1.194 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.9592, allocations: 0 / 1.194 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.998e-05/0.9593, allocations: 3.984 kB / 1.194 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.9594, allocations: 11.42 kB / 1.195 GB, free: 11.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.9603, allocations: 224 kB / 1.195 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.9604, allocations: 33.67 kB / 1.195 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.9604, allocations: 1.156 kB / 1.195 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.9605, allocations: 17.16 kB / 1.195 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.9605, allocations: 18.98 kB / 1.195 GB, free: 11.67 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.9606, allocations: 0.9375 kB / 1.195 GB, free: 11.67 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.961, allocations: 249.9 kB / 1.195 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.9611, allocations: 2.719 kB / 1.195 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.9611, allocations: 16.72 kB / 1.195 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.9614, allocations: 128.7 kB / 1.195 GB, free: 11.46 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9614, allocations: 1.406 kB / 1.195 GB, free: 11.46 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9614, allocations: 0 / 1.195 GB, free: 11.46 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.9614, allocations: 0 / 1.195 GB, free: 11.46 MB / 0.92 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.000465/0.9619, allocations: 355.8 kB / 1.196 GB, free: 11.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9619, allocations: 8.656 kB / 1.196 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.962, allocations: 3.188 kB / 1.196 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.9622, allocations: 166.4 kB / 1.196 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.9622, allocations: 27.8 kB / 1.196 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.9623, allocations: 9.281 kB / 1.196 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.9624, allocations: 42.56 kB / 1.196 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9624, allocations: 3.938 kB / 1.196 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.9624, allocations: 0 / 1.196 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.9625, allocations: 1.312 kB / 1.196 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.9625, allocations: 17.67 kB / 1.196 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.9634, allocations: 0.601 MB / 1.196 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.9635, allocations: 16.89 kB / 1.196 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.9635, allocations: 8.078 kB / 1.196 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.9638, allocations: 337.9 kB / 1.197 GB, free: 9.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.9638, allocations: 35.78 kB / 1.197 GB, free: 9.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.9638, allocations: 0 / 1.197 GB, free: 9.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.964, allocations: 36.22 kB / 1.197 GB, free: 9.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.9641, allocations: 55.41 kB / 1.197 GB, free: 9.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.9642, allocations: 104.8 kB / 1.197 GB, free: 9.441 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.9642, allocations: 25.7 kB / 1.197 GB, free: 9.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.9643, allocations: 93.33 kB / 1.197 GB, free: 9.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.9643, allocations: 5 kB / 1.197 GB, free: 9.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.9643, allocations: 17.31 kB / 1.197 GB, free: 9.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9645, allocations: 315.8 kB / 1.197 GB, free: 8.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.9645, allocations: 6.312 kB / 1.197 GB, free: 8.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.9646, allocations: 25.67 kB / 1.197 GB, free: 8.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.9646, allocations: 16.19 kB / 1.197 GB, free: 8.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9646, allocations: 0 / 1.197 GB, free: 8.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.658e-05/0.9647, allocations: 54.97 kB / 1.197 GB, free: 8.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.9647, allocations: 4.406 kB / 1.197 GB, free: 8.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.9647, allocations: 1.531 kB / 1.197 GB, free: 8.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.9647, allocations: 5.188 kB / 1.197 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.9648, allocations: 5.719 kB / 1.197 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.9648, allocations: 0.875 kB / 1.197 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.9648, allocations: 2.219 kB / 1.197 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.9648, allocations: 9.078 kB / 1.197 GB, free: 8.871 MB / 0.92 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.025e-05/0.9649, allocations: 112.3 kB / 1.198 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.965, allocations: 5.172 kB / 1.198 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.9651, allocations: 120 kB / 1.198 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-05/0.9652, allocations: 185.3 kB / 1.198 GB, free: 8.438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.167e-05/0.9653, allocations: 181.3 kB / 1.198 GB, free: 8.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-05/0.9654, allocations: 177.3 kB / 1.198 GB, free: 8.074 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.9657, allocations: 415.4 kB / 1.199 GB, free: 7.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001028/0.9658, allocations: 114 kB / 1.199 GB, free: 7.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.9658, allocations: 102.2 kB / 1.199 GB, free: 7.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.411e-05/0.9659, allocations: 185.3 kB / 1.199 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.9661, allocations: 181.2 kB / 1.199 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.792e-05/0.9662, allocations: 177.4 kB / 1.199 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.191e-05/0.9662, allocations: 181.4 kB / 1.2 GB, free: 6.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.9664, allocations: 311.9 kB / 1.2 GB, free: 6.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.9665, allocations: 183.5 kB / 1.2 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.9667, allocations: 181.6 kB / 1.2 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.9668, allocations: 111.6 kB / 1.2 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.9669, allocations: 181.5 kB / 1.2 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.9671, allocations: 109.9 kB / 1.201 GB, free: 5.539 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.9671, allocations: 84.22 kB / 1.201 GB, free: 5.461 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9671, allocations: 0 / 1.201 GB, free: 5.461 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000389/0.9675, allocations: 60.86 kB / 1.201 GB, free: 5.438 MB / 0.92 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.0003687/0.9679, allocations: 251 kB / 1.201 GB, free: 5.238 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.968, allocations: 6.375 kB / 1.201 GB, free: 5.238 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.968, allocations: 0 / 1.201 GB, free: 5.238 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.968, allocations: 1.562 kB / 1.201 GB, free: 5.238 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.9685, allocations: 468 kB / 1.201 GB, free: 4.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.9689, allocations: 212.3 kB / 1.202 GB, free: 4.559 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.9692, allocations: 0.6749 MB / 1.202 GB, free: 3.859 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.9693, allocations: 9.469 kB / 1.202 GB, free: 3.852 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.9693, allocations: 1.094 kB / 1.202 GB, free: 3.852 MB / 0.92 GB Notification: Performance of Templates: time 0.003021/0.9723, allocations: 1.237 MB / 1.203 GB, free: 3.211 MB / 0.92 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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) 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) Reference file matches