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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001038/0.001038, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008358/0.008359, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 15.98 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8345, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1595/0.994, allocations: 131.5 MB / 1.151 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.9942, allocations: 55.72 kB / 1.152 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.9942, allocations: 0 / 1.152 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.9944, allocations: 0 / 1.152 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.9945, allocations: 15.91 kB / 1.152 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.9954, allocations: 219.2 kB / 1.152 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.9955, allocations: 63.64 kB / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.9955, allocations: 4 kB / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.9956, allocations: 11.98 kB / 1.152 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.9957, allocations: 19.98 kB / 1.152 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.9957, allocations: 0 / 1.152 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.9961, allocations: 251.3 kB / 1.152 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.9962, allocations: 7.875 kB / 1.152 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.9962, allocations: 33.69 kB / 1.152 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.9966, allocations: 193.5 kB / 1.152 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9966, allocations: 0 / 1.152 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9966, allocations: 0 / 1.152 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.9966, allocations: 0 / 1.152 GB, free: 10.95 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.0004437/0.9971, allocations: 359.5 kB / 1.153 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.9971, allocations: 12.03 kB / 1.153 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.9972, allocations: 0.9375 kB / 1.153 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9973, allocations: 160.4 kB / 1.153 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.9973, allocations: 30.27 kB / 1.153 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.9974, allocations: 3.938 kB / 1.153 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.9975, allocations: 41.69 kB / 1.153 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.9975, allocations: 3.938 kB / 1.153 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.9975, allocations: 7.984 kB / 1.153 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.9976, allocations: 7.984 kB / 1.153 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.9976, allocations: 8 kB / 1.153 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.9984, allocations: 0.6028 MB / 1.153 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.9985, allocations: 14.58 kB / 1.154 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.9985, allocations: 16.86 kB / 1.154 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.9987, allocations: 332.4 kB / 1.154 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.9988, allocations: 42.5 kB / 1.154 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.9988, allocations: 0 / 1.154 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.000153/0.9989, allocations: 33.61 kB / 1.154 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.999, allocations: 51.41 kB / 1.154 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.9991, allocations: 105.8 kB / 1.154 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.9991, allocations: 25.83 kB / 1.154 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.9991, allocations: 88.05 kB / 1.154 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.9992, allocations: 3.938 kB / 1.154 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.9992, allocations: 13.72 kB / 1.154 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9993, allocations: 322.8 kB / 1.154 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.9993, allocations: 4 kB / 1.154 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.9993, allocations: 17.66 kB / 1.155 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.9994, allocations: 25.7 kB / 1.155 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9994, allocations: 0 / 1.155 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.289e-05/0.9995, allocations: 45.64 kB / 1.155 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9995, allocations: 8 kB / 1.155 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9995, allocations: 0 / 1.155 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.9995, allocations: 3.984 kB / 1.155 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.9996, allocations: 4 kB / 1.155 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9996, allocations: 4 kB / 1.155 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.9996, allocations: 64 / 1.155 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.9996, allocations: 11.88 kB / 1.155 GB, free: 8.184 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 7.274e-05/0.9997, allocations: 109.8 kB / 1.155 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.9997, allocations: 3.906 kB / 1.155 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.9999, allocations: 128.8 kB / 1.155 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-05/0.9999, allocations: 176.3 kB / 1.155 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.471e-05/1, allocations: 184.2 kB / 1.155 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.24e-05/1, allocations: 180.3 kB / 1.155 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/1, allocations: 405.2 kB / 1.156 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/1, allocations: 112.9 kB / 1.156 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/1, allocations: 101 kB / 1.156 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-05/1, allocations: 184.2 kB / 1.156 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/1.001, allocations: 184.3 kB / 1.156 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.479e-05/1.001, allocations: 180.3 kB / 1.156 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-05/1.001, allocations: 184.1 kB / 1.157 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/1.001, allocations: 315.7 kB / 1.157 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/1.001, allocations: 182.1 kB / 1.157 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/1.001, allocations: 184.2 kB / 1.157 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.001, allocations: 108.9 kB / 1.157 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/1.001, allocations: 180.3 kB / 1.158 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/1.001, allocations: 104.9 kB / 1.158 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.299e-05/1.001, allocations: 87.2 kB / 1.158 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.001, allocations: 8 kB / 1.158 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003085/1.002, allocations: 55.92 kB / 1.158 GB, free: 4.672 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.000334/1.002, allocations: 254.7 kB / 1.158 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.996e-05/1.002, allocations: 11.98 kB / 1.158 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.002, allocations: 0 / 1.158 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-06/1.002, allocations: 4 kB / 1.158 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/1.003, allocations: 0.5247 MB / 1.159 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/1.003, allocations: 192 kB / 1.159 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.003, allocations: 0.6808 MB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.057e-05/1.003, allocations: 4 kB / 1.159 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/1.003, allocations: 11.38 kB / 1.159 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.003, allocations: 0 / 1.159 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of Templates: time 0.004052/1.007, allocations: 1.263 MB / 1.161 GB, free: 1.676 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches