Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001024/0.001024, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003751, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6479/0.6483, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1424/0.7907, allocations: 131.6 MB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.7909, allocations: 51.86 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.791, allocations: 0 / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.833e-05/0.7911, allocations: 0 / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.7912, allocations: 19.91 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.792, allocations: 230 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.7922, allocations: 51.89 kB / 1.085 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.7922, allocations: 0 / 1.085 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.7923, allocations: 27.84 kB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.7923, allocations: 4 kB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.7924, allocations: 8 kB / 1.085 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.7929, allocations: 243.3 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.793, allocations: 8 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.793, allocations: 41.61 kB / 1.085 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.7933, allocations: 129.8 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.7933, allocations: 8 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7934, allocations: 0 / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.7934, allocations: 0 / 1.085 GB, free: 10.52 MB / 0.8419 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.0004154/0.7938, allocations: 347.5 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7938, allocations: 15.97 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.7939, allocations: 0.9375 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.794, allocations: 164.4 kB / 1.085 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.506e-05/0.7941, allocations: 26.27 kB / 1.086 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.7941, allocations: 7.938 kB / 1.086 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.7942, allocations: 45.67 kB / 1.086 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.7943, allocations: 0 / 1.086 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7943, allocations: 3.984 kB / 1.086 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.7943, allocations: 3.938 kB / 1.086 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.7944, allocations: 23.98 kB / 1.086 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.7951, allocations: 0.5911 MB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.7952, allocations: 22.52 kB / 1.086 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.7952, allocations: 4.859 kB / 1.086 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.7954, allocations: 344.5 kB / 1.087 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.7955, allocations: 34.5 kB / 1.087 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.7955, allocations: 0 / 1.087 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.7956, allocations: 33.61 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.7957, allocations: 55.41 kB / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.7957, allocations: 101.8 kB / 1.087 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7958, allocations: 25.7 kB / 1.087 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.7958, allocations: 88.27 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.7958, allocations: 11.84 kB / 1.087 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.7959, allocations: 13.7 kB / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.796, allocations: 314.8 kB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.796, allocations: 4 kB / 1.087 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.796, allocations: 17.72 kB / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.7961, allocations: 29.64 kB / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7961, allocations: 4 kB / 1.087 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.231e-05/0.7962, allocations: 45.64 kB / 1.087 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7962, allocations: 7.984 kB / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7962, allocations: 0 / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7962, allocations: 4 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.7963, allocations: 4 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7963, allocations: 3.938 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.7963, allocations: 0 / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.7963, allocations: 7.938 kB / 1.087 GB, free: 7.758 MB / 0.8419 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 0.00012/0.7965, allocations: 113.9 kB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.7965, allocations: 3.906 kB / 1.087 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.7966, allocations: 120.9 kB / 1.088 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.575e-05/0.7967, allocations: 180.3 kB / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-05/0.7968, allocations: 180.3 kB / 1.088 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/0.7969, allocations: 184.2 kB / 1.088 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.7972, allocations: 405.2 kB / 1.088 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/0.7972, allocations: 112.9 kB / 1.089 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.7973, allocations: 101 kB / 1.089 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.703e-05/0.7974, allocations: 180.3 kB / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.7974, allocations: 184.2 kB / 1.089 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.958e-05/0.7975, allocations: 176.3 kB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.029e-05/0.7976, allocations: 184.2 kB / 1.089 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.7977, allocations: 307.7 kB / 1.09 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.7978, allocations: 186.1 kB / 1.09 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.7979, allocations: 180.3 kB / 1.09 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.798, allocations: 120.9 kB / 1.09 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.7981, allocations: 180.2 kB / 1.09 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.7981, allocations: 112.9 kB / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.7982, allocations: 87.22 kB / 1.09 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7982, allocations: 0 / 1.09 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003139/0.7985, allocations: 59.92 kB / 1.091 GB, free: 4.246 MB / 0.8419 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.0003646/0.7989, allocations: 254.7 kB / 1.091 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.799, allocations: 12 kB / 1.091 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.799, allocations: 0 / 1.091 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-06/0.799, allocations: 4 kB / 1.091 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.7994, allocations: 0.5223 MB / 1.091 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.7997, allocations: 218.1 kB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.8, allocations: 0.677 MB / 1.092 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.8, allocations: 7.438 kB / 1.092 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.8, allocations: 0 / 1.092 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of Templates: time 0.003004/0.803, allocations: 1.219 MB / 1.093 GB, free: 1.273 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches