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.276/2.276, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001099/0.0011, allocations: 172 kB / 492.3 MB, free: 0.6094 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.529/1.529, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009219/0.0009219, allocations: 98.28 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3308, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.713, allocations: 455.9 MB / 1.658 GB, free: 7.543 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.714, allocations: 69.5 kB / 1.658 GB, free: 7.512 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.05363/1.767, allocations: 23.43 MB / 1.681 GB, free: 4.156 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.222e-06/1.768, allocations: 0 / 1.681 GB, free: 4.156 MB / 1.089 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.768, allocations: 0 / 1.681 GB, free: 4.156 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.0003703/1.768, allocations: 354 kB / 1.681 GB, free: 3.77 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.768, allocations: 8.031 kB / 1.681 GB, free: 3.762 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/1.768, allocations: 7.953 kB / 1.681 GB, free: 3.754 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.768, allocations: 159.1 kB / 1.681 GB, free: 3.559 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/1.768, allocations: 29.7 kB / 1.681 GB, free: 3.523 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/1.768, allocations: 7.984 kB / 1.681 GB, free: 3.516 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/1.768, allocations: 37.14 kB / 1.681 GB, free: 3.477 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/1.768, allocations: 0 / 1.681 GB, free: 3.477 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.768, allocations: 3.984 kB / 1.681 GB, free: 3.473 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/1.768, allocations: 3.938 kB / 1.681 GB, free: 3.469 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/1.768, allocations: 23.38 kB / 1.681 GB, free: 3.449 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/1.769, allocations: 0.613 MB / 1.682 GB, free: 2.727 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/1.769, allocations: 14.58 kB / 1.682 GB, free: 2.703 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/1.769, allocations: 4.859 kB / 1.682 GB, free: 2.695 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/1.77, allocations: 0.4936 MB / 1.682 GB, free: 2.098 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.77, allocations: 42.5 kB / 1.682 GB, free: 2.047 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.77, allocations: 0 / 1.682 GB, free: 2.047 MB / 1.089 GB Notification: Performance of matching and sorting (n=1): time 0.0001302/1.77, allocations: 33.66 kB / 1.682 GB, free: 2.008 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.77, allocations: 54.59 kB / 1.682 GB, free: 1.945 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/1.77, allocations: 96.98 kB / 1.682 GB, free: 1.844 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/1.77, allocations: 25.7 kB / 1.683 GB, free: 1.812 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/1.77, allocations: 91.3 kB / 1.683 GB, free: 1.723 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-06/1.77, allocations: 0 / 1.683 GB, free: 1.723 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.77, allocations: 4.031 kB / 1.683 GB, free: 1.719 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.77, allocations: 318.8 kB / 1.683 GB, free: 1.398 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/1.77, allocations: 7.234 kB / 1.683 GB, free: 1.395 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/1.77, allocations: 13.72 kB / 1.683 GB, free: 1.375 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/1.77, allocations: 7.938 kB / 1.683 GB, free: 1.367 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.77, allocations: 0 / 1.683 GB, free: 1.367 MB / 1.089 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.187e-05/1.77, allocations: 53 kB / 1.683 GB, free: 1.312 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.77, allocations: 4 kB / 1.683 GB, free: 1.309 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.77, allocations: 0 / 1.683 GB, free: 1.309 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.77, allocations: 3.953 kB / 1.683 GB, free: 1.305 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/1.771, allocations: 8 kB / 1.683 GB, free: 1.297 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.771, allocations: 3.938 kB / 1.683 GB, free: 1.293 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/1.771, allocations: 3.906 kB / 1.683 GB, free: 1.289 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/1.771, allocations: 7.984 kB / 1.683 GB, free: 1.281 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 8.026e-05/1.771, allocations: 104.2 kB / 1.683 GB, free: 1.176 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.771, allocations: 8.062 kB / 1.683 GB, free: 1.168 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/1.771, allocations: 113 kB / 1.683 GB, free: 1.051 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.002e-05/1.771, allocations: 184 kB / 1.683 GB, free: 0.8672 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-05/1.771, allocations: 188.2 kB / 1.684 GB, free: 0.6758 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.877e-05/1.771, allocations: 176.3 kB / 1.684 GB, free: 0.4961 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.771, allocations: 412.8 kB / 1.684 GB, free: 40 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.131e-05/1.771, allocations: 101 kB / 1.684 GB, free: 15.93 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/1.772, allocations: 104.9 kB / 1.684 GB, free: 15.82 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/1.772, allocations: 176.3 kB / 1.685 GB, free: 15.64 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/1.772, allocations: 180.3 kB / 1.685 GB, free: 15.46 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001348/1.772, allocations: 184.2 kB / 1.685 GB, free: 15.27 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-05/1.772, allocations: 187.8 kB / 1.685 GB, free: 15.09 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/1.772, allocations: 307.7 kB / 1.685 GB, free: 14.76 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.772, allocations: 193.2 kB / 1.686 GB, free: 14.55 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/1.772, allocations: 176.3 kB / 1.686 GB, free: 14.37 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/1.773, allocations: 109 kB / 1.686 GB, free: 14.26 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/1.773, allocations: 184.2 kB / 1.686 GB, free: 14.07 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/1.773, allocations: 104.9 kB / 1.686 GB, free: 13.96 MB / 1.104 GB Notification: Performance of sorting global known variables: time 5.476e-05/1.773, allocations: 87.23 kB / 1.686 GB, free: 13.88 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.61e-07/1.773, allocations: 0 / 1.686 GB, free: 13.88 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0005202/1.773, allocations: 76.92 kB / 1.686 GB, free: 13.82 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.0009877/1.774, allocations: 0.659 MB / 1.687 GB, free: 13.18 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 8.418e-05/1.774, allocations: 15.94 kB / 1.687 GB, free: 13.16 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.774, allocations: 0 / 1.687 GB, free: 13.16 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.774, allocations: 0 / 1.687 GB, free: 13.16 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/1.775, allocations: 0.5227 MB / 1.687 GB, free: 12.64 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/1.775, allocations: 128.4 kB / 1.688 GB, free: 12.49 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.775, allocations: 0.6848 MB / 1.688 GB, free: 11.78 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 4.609e-05/1.775, allocations: 7.938 kB / 1.688 GB, free: 11.77 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/1.775, allocations: 11.44 kB / 1.688 GB, free: 11.76 MB / 1.104 GB Notification: Performance of SimCode: time 3.61e-07/1.775, allocations: 0 / 1.688 GB, free: 11.76 MB / 1.104 GB Notification: Performance of Templates: time 0.01279/1.788, allocations: 8.771 MB / 1.697 GB, free: 2.984 MB / 1.104 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