Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.001022/0.001022, allocations: 92 kB / 16.02 MB, free: 80 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.001266/0.001266, allocations: 181.3 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6536, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1392/0.7929, allocations: 131.5 MB / 1.152 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.7931, allocations: 51.84 kB / 1.152 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.7931, allocations: 4 kB / 1.152 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.7933, allocations: 0 / 1.152 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.7933, allocations: 7.922 kB / 1.152 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.7941, allocations: 227.2 kB / 1.152 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.7943, allocations: 63.75 kB / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.7943, allocations: 0 / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.7943, allocations: 19.98 kB / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.7944, allocations: 7.984 kB / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.7944, allocations: 4 kB / 1.153 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.7949, allocations: 243.4 kB / 1.153 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.7949, allocations: 15.91 kB / 1.153 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.795, allocations: 29.7 kB / 1.153 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.7952, allocations: 129.8 kB / 1.153 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7952, allocations: 0 / 1.153 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7952, allocations: 0 / 1.153 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.7952, allocations: 0 / 1.153 GB, free: 11.04 MB / 0.9044 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.0003991/0.7957, allocations: 359.4 kB / 1.153 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7957, allocations: 8.031 kB / 1.153 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.7957, allocations: 8.938 kB / 1.153 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.7959, allocations: 160.4 kB / 1.153 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.7959, allocations: 30.02 kB / 1.153 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.7959, allocations: 4 kB / 1.153 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.7961, allocations: 41.62 kB / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.7961, allocations: 0 / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7961, allocations: 3.984 kB / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.7961, allocations: 8 kB / 1.153 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.7962, allocations: 11.98 kB / 1.154 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.797, allocations: 0.6028 MB / 1.154 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.797, allocations: 18.58 kB / 1.154 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.797, allocations: 12.78 kB / 1.154 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.7973, allocations: 332.5 kB / 1.154 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.7973, allocations: 42.48 kB / 1.154 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7973, allocations: 0 / 1.154 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.7974, allocations: 37.61 kB / 1.155 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.7975, allocations: 55.41 kB / 1.155 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.7976, allocations: 97.84 kB / 1.155 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.7976, allocations: 29.7 kB / 1.155 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.7976, allocations: 88.05 kB / 1.155 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-06/0.7977, allocations: 4.062 kB / 1.155 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.7977, allocations: 13.72 kB / 1.155 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7978, allocations: 318.8 kB / 1.155 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.7978, allocations: 11.92 kB / 1.155 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.7979, allocations: 17.66 kB / 1.155 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.7979, allocations: 21.72 kB / 1.155 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7979, allocations: 0 / 1.155 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.2e-05/0.798, allocations: 49.62 kB / 1.155 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.798, allocations: 4 kB / 1.155 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.798, allocations: 4 kB / 1.155 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.798, allocations: 0 / 1.155 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.322e-05/0.7981, allocations: 7.984 kB / 1.155 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7981, allocations: 0 / 1.155 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.7981, allocations: 15.94 kB / 1.155 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.7981, allocations: 0 / 1.155 GB, free: 8.27 MB / 0.9044 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 9.661e-05/0.7982, allocations: 109.9 kB / 1.155 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.7983, allocations: 7.906 kB / 1.155 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.7984, allocations: 128.8 kB / 1.155 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/0.7985, allocations: 176.3 kB / 1.156 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.379e-05/0.7985, allocations: 180.2 kB / 1.156 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001212/0.7987, allocations: 180.2 kB / 1.156 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.7989, allocations: 409.2 kB / 1.156 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/0.799, allocations: 104.9 kB / 1.156 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.799, allocations: 109 kB / 1.157 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-05/0.7991, allocations: 180.2 kB / 1.157 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.7991, allocations: 176.3 kB / 1.157 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.188e-05/0.7992, allocations: 184.2 kB / 1.157 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-05/0.7993, allocations: 184.3 kB / 1.157 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.7994, allocations: 311.7 kB / 1.158 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.7995, allocations: 182.1 kB / 1.158 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.7996, allocations: 184.2 kB / 1.158 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.7997, allocations: 109 kB / 1.158 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.7998, allocations: 180.3 kB / 1.158 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.7998, allocations: 108.9 kB / 1.158 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001078/0.8, allocations: 87.27 kB / 1.158 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8, allocations: 3.938 kB / 1.158 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000299/0.8003, allocations: 55.94 kB / 1.158 GB, free: 4.766 MB / 0.9044 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.0003286/0.8006, allocations: 258.6 kB / 1.159 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.409e-05/0.8007, allocations: 11.98 kB / 1.159 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8007, allocations: 128 / 1.159 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.8007, allocations: 7.938 kB / 1.159 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.8012, allocations: 0.5224 MB / 1.159 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.8015, allocations: 209.6 kB / 1.159 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.8017, allocations: 0.6808 MB / 1.16 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.8017, allocations: 11.44 kB / 1.16 GB, free: 3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8017, allocations: 0 / 1.16 GB, free: 3 MB / 0.9044 GB Notification: Performance of Templates: time 0.00292/0.8047, allocations: 1.221 MB / 1.161 GB, free: 1.781 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches