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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001321/0.001321, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 197.9 kB / 16.79 MB, free: 6.828 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6407, allocations: 140.3 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1383/0.7791, allocations: 133.3 MB / 1.08 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.7792, allocations: 51.84 kB / 1.08 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.7793, allocations: 4 kB / 1.08 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.7794, allocations: 7.938 kB / 1.08 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.7795, allocations: 7.984 kB / 1.08 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.7804, allocations: 219.1 kB / 1.08 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.7805, allocations: 63.8 kB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.7805, allocations: 4 kB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.7806, allocations: 15.94 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.7806, allocations: 19.97 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.7807, allocations: 0 / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.7812, allocations: 243.3 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.7813, allocations: 3.984 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.7813, allocations: 11.94 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.7816, allocations: 133.8 kB / 1.081 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7816, allocations: 0 / 1.081 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7816, allocations: 0 / 1.081 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.7817, allocations: 4 kB / 1.081 GB, free: 11.5 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.0004381/0.7821, allocations: 363.4 kB / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7822, allocations: 15.97 kB / 1.081 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.7822, allocations: 4.922 kB / 1.081 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.7823, allocations: 164.4 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.7824, allocations: 34.2 kB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.7824, allocations: 3.938 kB / 1.081 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.7825, allocations: 41.69 kB / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.7825, allocations: 4 kB / 1.081 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7826, allocations: 0 / 1.081 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.7826, allocations: 7.984 kB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.661e-05/0.7827, allocations: 12 kB / 1.081 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.7834, allocations: 0.595 MB / 1.082 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.7835, allocations: 22.52 kB / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.7835, allocations: 8.859 kB / 1.082 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.7837, allocations: 336.5 kB / 1.082 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.7837, allocations: 34.56 kB / 1.082 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.7838, allocations: 0 / 1.082 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.7839, allocations: 33.61 kB / 1.082 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.7839, allocations: 59.34 kB / 1.082 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.784, allocations: 106 kB / 1.082 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.7841, allocations: 29.7 kB / 1.082 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.7841, allocations: 84.05 kB / 1.082 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.7841, allocations: 7.938 kB / 1.082 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.7842, allocations: 21.7 kB / 1.082 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.7843, allocations: 314.8 kB / 1.083 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.7843, allocations: 0 / 1.083 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.7843, allocations: 17.72 kB / 1.083 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.7844, allocations: 25.7 kB / 1.083 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7844, allocations: 0 / 1.083 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.4e-05/0.7844, allocations: 49.62 kB / 1.083 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7845, allocations: 8 kB / 1.083 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7845, allocations: 0 / 1.083 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7845, allocations: 0 / 1.083 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.7845, allocations: 4 kB / 1.083 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7846, allocations: 8 kB / 1.083 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.7846, allocations: 4 kB / 1.083 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.7846, allocations: 3.938 kB / 1.083 GB, free: 8.723 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.998e-05/0.7847, allocations: 117.8 kB / 1.083 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.7847, allocations: 3.906 kB / 1.083 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.7848, allocations: 117 kB / 1.083 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/0.7849, allocations: 176.3 kB / 1.083 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.732e-05/0.7849, allocations: 188.2 kB / 1.083 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/0.785, allocations: 188.2 kB / 1.084 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.7852, allocations: 409.1 kB / 1.084 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/0.7853, allocations: 105 kB / 1.084 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.7853, allocations: 109.2 kB / 1.084 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.565e-05/0.7854, allocations: 180.3 kB / 1.084 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.7854, allocations: 176.3 kB / 1.085 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.902e-05/0.7855, allocations: 184.2 kB / 1.085 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-05/0.7856, allocations: 180.2 kB / 1.085 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.7857, allocations: 315.7 kB / 1.085 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.7858, allocations: 178.1 kB / 1.085 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.7859, allocations: 192.2 kB / 1.086 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.786, allocations: 105 kB / 1.086 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.7861, allocations: 184.2 kB / 1.086 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.7861, allocations: 101 kB / 1.086 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.7862, allocations: 91.2 kB / 1.086 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7862, allocations: 0 / 1.086 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003202/0.7865, allocations: 63.92 kB / 1.086 GB, free: 5.207 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.0003371/0.7868, allocations: 254.3 kB / 1.086 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.7869, allocations: 15.92 kB / 1.086 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7869, allocations: 0 / 1.086 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.7869, allocations: 0 / 1.086 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.7874, allocations: 0.5269 MB / 1.087 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.7876, allocations: 201.5 kB / 1.087 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.7879, allocations: 0.677 MB / 1.088 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.7879, allocations: 15.42 kB / 1.088 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.7879, allocations: 0 / 1.088 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of Templates: time 0.003056/0.791, allocations: 1.233 MB / 1.089 GB, free: 2.227 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