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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001546/0.001546, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002301/0.002301, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 71.88 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7016, allocations: 140.4 MB / 0.9491 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1756/0.8772, allocations: 133.5 MB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.8774, allocations: 51.86 kB / 1.079 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.8775, allocations: 3.938 kB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.8776, allocations: 0 / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.8778, allocations: 15.91 kB / 1.08 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.879, allocations: 223.1 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.8792, allocations: 39.84 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.8792, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.8793, allocations: 15.94 kB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.8794, allocations: 23.91 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.8794, allocations: 4 kB / 1.08 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.8801, allocations: 239.4 kB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.8802, allocations: 15.97 kB / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.8803, allocations: 7.938 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.8808, allocations: 197.7 kB / 1.08 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8808, allocations: 0 / 1.08 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8808, allocations: 0 / 1.08 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8808, allocations: 0 / 1.08 GB, free: 11.38 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.0004845/0.8813, allocations: 363.4 kB / 1.081 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8814, allocations: 12.03 kB / 1.081 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.8814, allocations: 4.938 kB / 1.081 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.8816, allocations: 164.3 kB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.8816, allocations: 26.27 kB / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.8817, allocations: 7.938 kB / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.8818, allocations: 45.67 kB / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8818, allocations: 0 / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8818, allocations: 0 / 1.081 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.8819, allocations: 4 kB / 1.081 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.8819, allocations: 19.98 kB / 1.081 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/0.8828, allocations: 0.5911 MB / 1.081 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/0.8829, allocations: 18.52 kB / 1.081 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.8829, allocations: 8.922 kB / 1.081 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.8832, allocations: 336.4 kB / 1.082 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.8832, allocations: 42.56 kB / 1.082 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.8832, allocations: 0 / 1.082 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.8834, allocations: 37.55 kB / 1.082 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.8834, allocations: 55.34 kB / 1.082 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.8835, allocations: 109.8 kB / 1.082 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.8836, allocations: 25.7 kB / 1.082 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.8836, allocations: 84.05 kB / 1.082 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.8836, allocations: 8.062 kB / 1.082 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.8837, allocations: 21.7 kB / 1.082 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8838, allocations: 318.8 kB / 1.082 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.8838, allocations: 4 kB / 1.082 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.8839, allocations: 21.7 kB / 1.082 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.8839, allocations: 21.72 kB / 1.083 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8839, allocations: 0 / 1.083 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.152e-05/0.884, allocations: 53.56 kB / 1.083 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.884, allocations: 4 kB / 1.083 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.884, allocations: 4 kB / 1.083 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8841, allocations: 0 / 1.083 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.5e-05/0.8841, allocations: 4 kB / 1.083 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8841, allocations: 0 / 1.083 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.8841, allocations: 4 kB / 1.083 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.8842, allocations: 3.938 kB / 1.083 GB, free: 8.609 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 8.706e-05/0.8843, allocations: 121.8 kB / 1.083 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.8843, allocations: 7.906 kB / 1.083 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.8844, allocations: 113 kB / 1.083 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/0.8845, allocations: 180.2 kB / 1.083 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.128e-05/0.8846, allocations: 184.2 kB / 1.083 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.01e-05/0.8846, allocations: 180.3 kB / 1.083 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.8849, allocations: 409.1 kB / 1.084 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.797e-05/0.8849, allocations: 105 kB / 1.084 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.885, allocations: 108.9 kB / 1.084 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.701e-05/0.8851, allocations: 176.3 kB / 1.084 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/0.8851, allocations: 180.3 kB / 1.084 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-05/0.8852, allocations: 184.2 kB / 1.084 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.159e-05/0.8853, allocations: 180.3 kB / 1.085 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.8855, allocations: 307.7 kB / 1.085 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.8855, allocations: 182.1 kB / 1.085 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.8856, allocations: 184.2 kB / 1.085 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.8858, allocations: 116.9 kB / 1.085 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.8859, allocations: 184.2 kB / 1.086 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.8859, allocations: 105 kB / 1.086 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.886, allocations: 87.22 kB / 1.086 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.886, allocations: 0 / 1.086 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003669/0.8864, allocations: 59.92 kB / 1.086 GB, free: 5.102 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.0003818/0.8867, allocations: 262.3 kB / 1.086 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.8868, allocations: 8.25 kB / 1.086 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8869, allocations: 8.125 kB / 1.086 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.8869, allocations: 0 / 1.086 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.8873, allocations: 455.7 kB / 1.086 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.8876, allocations: 185.8 kB / 1.087 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.8879, allocations: 0.6768 MB / 1.087 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.8879, allocations: 4 kB / 1.087 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.888, allocations: 7.438 kB / 1.087 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of SimCode: time 1.493e-06/0.888, allocations: 0 / 1.087 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of Templates: time 0.004104/0.8921, allocations: 1.294 MB / 1.089 GB, free: 2.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches