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.001275/0.001275, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001512/0.001512, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 4.516 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.337/2.337, allocations: 390.2 MB / 0.665 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 0.8127 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7333, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1506/0.884, allocations: 133.5 MB / 1.08 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.8842, allocations: 59.8 kB / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.8842, allocations: 0 / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.8843, allocations: 0 / 1.08 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.8845, allocations: 7.922 kB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.8854, allocations: 234 kB / 1.08 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.8855, allocations: 35.91 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.8855, allocations: 0 / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.8856, allocations: 11.94 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.8856, allocations: 27.91 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.8857, allocations: 0 / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.8861, allocations: 243.4 kB / 1.081 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.8862, allocations: 15.97 kB / 1.081 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.8862, allocations: 7.938 kB / 1.081 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.8864, allocations: 125.8 kB / 1.081 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8864, allocations: 4 kB / 1.081 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8864, allocations: 4 kB / 1.081 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.8864, allocations: 0 / 1.081 GB, free: 11.36 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.0004312/0.8869, allocations: 372 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.8869, allocations: 8.031 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.887, allocations: 0.9375 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.8871, allocations: 168.3 kB / 1.081 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.8872, allocations: 26.27 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.8872, allocations: 3.938 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.8873, allocations: 45.69 kB / 1.081 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.8873, allocations: 0 / 1.081 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.8873, allocations: 0 / 1.081 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.8873, allocations: 7.984 kB / 1.081 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.8874, allocations: 15.94 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.8881, allocations: 0.6028 MB / 1.082 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.22e-05/0.8882, allocations: 26.55 kB / 1.082 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.8882, allocations: 8.922 kB / 1.082 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.8884, allocations: 340.4 kB / 1.082 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.8884, allocations: 30.56 kB / 1.082 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.8884, allocations: 0 / 1.082 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.8886, allocations: 45.55 kB / 1.083 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.8886, allocations: 51.41 kB / 1.083 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.688e-05/0.8887, allocations: 101.8 kB / 1.083 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.8887, allocations: 25.7 kB / 1.083 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.8888, allocations: 92.17 kB / 1.083 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.8888, allocations: 3.938 kB / 1.083 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.8888, allocations: 17.7 kB / 1.083 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.8889, allocations: 318.8 kB / 1.083 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.889, allocations: 4 kB / 1.083 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.889, allocations: 13.72 kB / 1.083 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.889, allocations: 33.64 kB / 1.083 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.889, allocations: 0 / 1.083 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.835e-05/0.8891, allocations: 41.7 kB / 1.083 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8892, allocations: 7.984 kB / 1.083 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.8892, allocations: 3.938 kB / 1.083 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8892, allocations: 4 kB / 1.083 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.8892, allocations: 4 kB / 1.083 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8892, allocations: 3.938 kB / 1.083 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.8893, allocations: 0 / 1.083 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.8893, allocations: 12 kB / 1.083 GB, free: 8.574 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 6.602e-05/0.8893, allocations: 105.8 kB / 1.083 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.8894, allocations: 7.906 kB / 1.083 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.8895, allocations: 117 kB / 1.083 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-05/0.8896, allocations: 184.2 kB / 1.084 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.403e-05/0.8896, allocations: 176.3 kB / 1.084 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/0.8897, allocations: 184.2 kB / 1.084 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.8899, allocations: 409.1 kB / 1.084 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/0.89, allocations: 105 kB / 1.084 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.89, allocations: 104.9 kB / 1.085 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.935e-05/0.8901, allocations: 180.3 kB / 1.085 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.8902, allocations: 184.3 kB / 1.085 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.709e-05/0.8902, allocations: 180.2 kB / 1.085 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-05/0.8903, allocations: 180.2 kB / 1.085 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.8905, allocations: 311.7 kB / 1.086 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.8905, allocations: 190 kB / 1.086 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.8906, allocations: 184.2 kB / 1.086 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.8908, allocations: 105 kB / 1.086 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.8909, allocations: 180.2 kB / 1.086 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.8909, allocations: 105 kB / 1.086 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.891, allocations: 95.2 kB / 1.086 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.891, allocations: 0 / 1.086 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003115/0.8913, allocations: 55.94 kB / 1.086 GB, free: 5.078 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.0003441/0.8917, allocations: 250.4 kB / 1.087 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.975e-05/0.8918, allocations: 19.86 kB / 1.087 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8918, allocations: 0 / 1.087 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.8918, allocations: 0 / 1.087 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.8922, allocations: 459.7 kB / 1.087 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.8925, allocations: 215.6 kB / 1.087 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.8928, allocations: 0.6767 MB / 1.088 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.8928, allocations: 11.42 kB / 1.088 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.8928, allocations: 0 / 1.088 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.003033/0.8959, allocations: 1.235 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches