Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.429/2.429, allocations: 390.5 MB / 398 MB, free: 10.95 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.001191/0.00119, allocations: 172.9 kB / 491.2 MB, free: 1.613 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.814/1.814, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.00103/0.001031, allocations: 97.81 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.67e-05, allocations: 224 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.766, allocations: 456.1 MB / 1.658 GB, free: 7.848 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.766, allocations: 72.28 kB / 1.658 GB, free: 7.812 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.05058/1.817, allocations: 23.01 MB / 1.68 GB, free: 5.223 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.472e-06/1.817, allocations: 0 / 1.68 GB, free: 5.223 MB / 1.089 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.817, allocations: 0 / 1.68 GB, free: 5.223 MB / 1.089 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.0003683/1.817, allocations: 358.7 kB / 1.681 GB, free: 4.832 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.817, allocations: 8.031 kB / 1.681 GB, free: 4.824 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/1.817, allocations: 15.95 kB / 1.681 GB, free: 4.809 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.817, allocations: 163.1 kB / 1.681 GB, free: 4.609 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/1.817, allocations: 25.7 kB / 1.681 GB, free: 4.578 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.817, allocations: 4 kB / 1.681 GB, free: 4.574 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.851e-05/1.817, allocations: 11.62 kB / 1.681 GB, free: 4.566 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/1.818, allocations: 40.44 kB / 1.681 GB, free: 4.523 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.818, allocations: 0 / 1.681 GB, free: 4.523 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.818, allocations: 3.953 kB / 1.681 GB, free: 4.52 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/1.818, allocations: 7.984 kB / 1.681 GB, free: 4.512 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/1.818, allocations: 0.5795 MB / 1.681 GB, free: 3.832 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/1.818, allocations: 21.77 kB / 1.681 GB, free: 3.805 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/1.818, allocations: 4.859 kB / 1.681 GB, free: 3.797 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/1.819, allocations: 0.4978 MB / 1.682 GB, free: 3.195 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/1.819, allocations: 30.56 kB / 1.682 GB, free: 3.156 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/1.819, allocations: 3.984 kB / 1.682 GB, free: 3.152 MB / 1.089 GB Notification: Performance of matching and sorting (n=1): time 0.0002546/1.819, allocations: 49.58 kB / 1.682 GB, free: 3.098 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/1.819, allocations: 51.41 kB / 1.682 GB, free: 3.035 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/1.819, allocations: 92.56 kB / 1.682 GB, free: 2.941 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/1.819, allocations: 25.7 kB / 1.682 GB, free: 2.91 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.819, allocations: 95.97 kB / 1.682 GB, free: 2.812 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-06/1.819, allocations: 4.031 kB / 1.682 GB, free: 2.809 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.819, allocations: 0 / 1.682 GB, free: 2.809 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/1.819, allocations: 314.2 kB / 1.683 GB, free: 2.496 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/1.819, allocations: 4 kB / 1.683 GB, free: 2.492 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/1.819, allocations: 9.719 kB / 1.683 GB, free: 2.477 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/1.82, allocations: 27.91 kB / 1.683 GB, free: 2.453 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.82, allocations: 0 / 1.683 GB, free: 2.453 MB / 1.089 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001991/1.82, allocations: 61.56 kB / 1.683 GB, free: 2.387 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.82, allocations: 4 kB / 1.683 GB, free: 2.383 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.82, allocations: 3.984 kB / 1.683 GB, free: 2.379 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.82, allocations: 4 kB / 1.683 GB, free: 2.375 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/1.82, allocations: 4 kB / 1.683 GB, free: 2.371 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.82, allocations: 3.953 kB / 1.683 GB, free: 2.367 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/1.82, allocations: 3.906 kB / 1.683 GB, free: 2.363 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.82, allocations: 7.938 kB / 1.683 GB, free: 2.355 MB / 1.089 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 () * 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 6.853e-05/1.82, allocations: 108.8 kB / 1.683 GB, free: 2.246 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/1.82, allocations: 0 / 1.683 GB, free: 2.246 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/1.82, allocations: 121.5 kB / 1.683 GB, free: 2.117 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/1.82, allocations: 176.3 kB / 1.683 GB, free: 1.938 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.028e-05/1.82, allocations: 180.3 kB / 1.683 GB, free: 1.754 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/1.82, allocations: 184.2 kB / 1.683 GB, free: 1.566 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/1.821, allocations: 389.6 kB / 1.684 GB, free: 1.145 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.821, allocations: 105 kB / 1.684 GB, free: 1.035 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/1.821, allocations: 108.9 kB / 1.684 GB, free: 0.9219 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/1.821, allocations: 176.3 kB / 1.684 GB, free: 0.7422 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.821, allocations: 176.3 kB / 1.684 GB, free: 0.5625 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.39e-05/1.821, allocations: 192.1 kB / 1.684 GB, free: 380 kB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.276e-05/1.821, allocations: 180.3 kB / 1.685 GB, free: 192 kB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/1.821, allocations: 307.7 kB / 1.685 GB, free: 15.86 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/1.821, allocations: 181.3 kB / 1.685 GB, free: 15.66 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/1.821, allocations: 188.2 kB / 1.685 GB, free: 15.47 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/1.821, allocations: 108.9 kB / 1.685 GB, free: 15.36 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/1.821, allocations: 180.3 kB / 1.686 GB, free: 15.18 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/1.821, allocations: 101 kB / 1.686 GB, free: 15.07 MB / 1.104 GB Notification: Performance of sorting global known variables: time 4.787e-05/1.822, allocations: 86.45 kB / 1.686 GB, free: 14.99 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.81e-07/1.822, allocations: 3.938 kB / 1.686 GB, free: 14.98 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0003714/1.822, allocations: 74.3 kB / 1.686 GB, free: 14.93 MB / 1.104 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 () * 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.0008381/1.823, allocations: 0.7198 MB / 1.687 GB, free: 14.21 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 6.316e-05/1.823, allocations: 12 kB / 1.687 GB, free: 14.2 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.823, allocations: 0 / 1.687 GB, free: 14.2 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/1.823, allocations: 0 / 1.687 GB, free: 14.2 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/1.823, allocations: 0.5262 MB / 1.687 GB, free: 13.68 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001723/1.823, allocations: 127.4 kB / 1.687 GB, free: 13.53 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/1.824, allocations: 0.6807 MB / 1.688 GB, free: 12.82 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 4.388e-05/1.824, allocations: 7.938 kB / 1.688 GB, free: 12.81 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/1.824, allocations: 7.438 kB / 1.688 GB, free: 12.8 MB / 1.104 GB Notification: Performance of SimCode: time 2.6e-07/1.824, allocations: 0 / 1.688 GB, free: 12.8 MB / 1.104 GB Notification: Performance of Templates: time 0.00746/1.831, allocations: 3.862 MB / 1.692 GB, free: 8.949 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches