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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.588/2.588, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001363, allocations: 179.9 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.995/1.995, allocations: 223.2 MB / 0.7949 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 100.6 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004023, allocations: 8.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.386, allocations: 456 MB / 1.668 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.386, allocations: 80.66 kB / 1.668 GB, free: 5.812 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.05293/1.439, allocations: 23.49 MB / 1.691 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/1.439, allocations: 4 kB / 1.691 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.439, allocations: 4 kB / 1.691 GB, free: 2.402 MB / 0.9948 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.0003911/1.44, allocations: 354.3 kB / 1.692 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.44, allocations: 12.03 kB / 1.692 GB, free: 2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/1.44, allocations: 15.78 kB / 1.692 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.44, allocations: 159.1 kB / 1.692 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/1.44, allocations: 29.7 kB / 1.692 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.44, allocations: 0 / 1.692 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.44, allocations: 41.38 kB / 1.692 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.44, allocations: 4 kB / 1.692 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.44, allocations: 4 kB / 1.692 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/1.44, allocations: 3.953 kB / 1.692 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/1.44, allocations: 18.86 kB / 1.692 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/1.441, allocations: 0.5874 MB / 1.692 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.245e-05/1.441, allocations: 26.61 kB / 1.692 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/1.442, allocations: 0.4908 MB / 1.693 GB, free: 364 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.442, allocations: 34.52 kB / 1.693 GB, free: 320 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.442, allocations: 0 / 1.693 GB, free: 320 kB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001639/1.442, allocations: 45.39 kB / 1.693 GB, free: 272 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/1.442, allocations: 51.41 kB / 1.693 GB, free: 208 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/1.442, allocations: 101.1 kB / 1.693 GB, free: 104 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/1.442, allocations: 25.7 kB / 1.693 GB, free: 72 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/1.442, allocations: 91.98 kB / 1.693 GB, free: 15.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-06/1.442, allocations: 3.906 kB / 1.693 GB, free: 15.97 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.442, allocations: 0 / 1.693 GB, free: 15.97 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.442, allocations: 314.2 kB / 1.693 GB, free: 15.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/1.442, allocations: 7.984 kB / 1.694 GB, free: 15.65 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/1.442, allocations: 17.75 kB / 1.694 GB, free: 15.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/1.442, allocations: 11.31 kB / 1.694 GB, free: 15.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.442, allocations: 3.938 kB / 1.694 GB, free: 15.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.568e-05/1.442, allocations: 45.12 kB / 1.694 GB, free: 15.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.442, allocations: 4 kB / 1.694 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.442, allocations: 0 / 1.694 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.442, allocations: 7.953 kB / 1.694 GB, free: 15.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/1.442, allocations: 4 kB / 1.694 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.442, allocations: 3.984 kB / 1.694 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/1.442, allocations: 8 kB / 1.694 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/1.442, allocations: 7.938 kB / 1.694 GB, free: 15.54 MB / 1.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/1.443, allocations: 105.8 kB / 1.694 GB, free: 15.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/1.443, allocations: 4 kB / 1.694 GB, free: 15.42 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/1.443, allocations: 116.2 kB / 1.694 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/1.443, allocations: 188.2 kB / 1.694 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-05/1.443, allocations: 180.3 kB / 1.694 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.53e-05/1.443, allocations: 176.3 kB / 1.694 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.443, allocations: 408.7 kB / 1.695 GB, free: 14.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/1.443, allocations: 101 kB / 1.695 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/1.443, allocations: 108.1 kB / 1.695 GB, free: 14.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.887e-05/1.443, allocations: 184.2 kB / 1.695 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/1.443, allocations: 180.3 kB / 1.695 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.128e-05/1.443, allocations: 180.2 kB / 1.695 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-05/1.444, allocations: 184.3 kB / 1.696 GB, free: 13.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/1.444, allocations: 310.9 kB / 1.696 GB, free: 13.01 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/1.444, allocations: 189.3 kB / 1.696 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/1.444, allocations: 180.2 kB / 1.696 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.444, allocations: 109 kB / 1.696 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.444, allocations: 180.2 kB / 1.697 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/1.444, allocations: 108.9 kB / 1.697 GB, free: 12.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.619e-05/1.444, allocations: 91.02 kB / 1.697 GB, free: 12.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.31e-07/1.444, allocations: 4 kB / 1.697 GB, free: 12.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004122/1.445, allocations: 83.86 kB / 1.697 GB, free: 12.06 MB / 1.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008302/1.445, allocations: 0.6487 MB / 1.697 GB, free: 11.41 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 6.517e-05/1.446, allocations: 7.938 kB / 1.697 GB, free: 11.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.446, allocations: 4 kB / 1.697 GB, free: 11.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.446, allocations: 0 / 1.697 GB, free: 11.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.446, allocations: 0.5308 MB / 1.698 GB, free: 10.86 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/1.446, allocations: 199 kB / 1.698 GB, free: 10.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/1.446, allocations: 0.6809 MB / 1.699 GB, free: 9.941 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.093e-05/1.446, allocations: 4 kB / 1.699 GB, free: 9.938 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/1.447, allocations: 11.44 kB / 1.699 GB, free: 9.93 MB / 1.01 GB Notification: Performance of SimCode: time 2.2e-07/1.447, allocations: 0 / 1.699 GB, free: 9.93 MB / 1.01 GB Notification: Performance of Templates: time 0.01095/1.457, allocations: 7.329 MB / 1.706 GB, free: 2.598 MB / 1.01 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","../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches