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.001294/0.001294, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00157/0.00157, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.674/2.674, allocations: 437 MB / 0.71 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7189, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1566/0.8755, allocations: 133.4 MB / 1.147 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00022/0.8758, allocations: 59.78 kB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.8759, allocations: 4 kB / 1.147 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.876, allocations: 3.938 kB / 1.147 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.383e-05/0.8762, allocations: 15.92 kB / 1.147 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.8771, allocations: 223.2 kB / 1.147 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.8772, allocations: 35.78 kB / 1.147 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.8772, allocations: 7.984 kB / 1.147 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.8773, allocations: 16 kB / 1.147 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.8774, allocations: 11.97 kB / 1.147 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.8774, allocations: 4 kB / 1.147 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005549/0.8779, allocations: 243.4 kB / 1.148 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.878, allocations: 19.91 kB / 1.148 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.8781, allocations: 4 kB / 1.148 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.8784, allocations: 197.5 kB / 1.148 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8784, allocations: 4 kB / 1.148 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8784, allocations: 0 / 1.148 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.8785, allocations: 0 / 1.148 GB, free: 11.92 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.0005206/0.879, allocations: 355.4 kB / 1.148 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.8791, allocations: 12.03 kB / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.8791, allocations: 4.922 kB / 1.148 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.8793, allocations: 160.4 kB / 1.148 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.8793, allocations: 30.27 kB / 1.148 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.8794, allocations: 3.938 kB / 1.148 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.8795, allocations: 45.69 kB / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8795, allocations: 0 / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.8795, allocations: 3.984 kB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.8796, allocations: 4 kB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.8796, allocations: 19.92 kB / 1.149 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.8804, allocations: 0.5988 MB / 1.149 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/0.8805, allocations: 22.58 kB / 1.149 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.8805, allocations: 4.859 kB / 1.149 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.8807, allocations: 336.5 kB / 1.149 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.8807, allocations: 34.56 kB / 1.149 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 2.685e-06/0.8807, allocations: 0 / 1.149 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.8809, allocations: 37.62 kB / 1.15 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.881, allocations: 55.53 kB / 1.15 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.881, allocations: 105.8 kB / 1.15 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.8811, allocations: 25.7 kB / 1.15 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.8811, allocations: 88.05 kB / 1.15 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.8811, allocations: 3.938 kB / 1.15 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.8812, allocations: 17.72 kB / 1.15 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.8813, allocations: 318.8 kB / 1.15 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.8813, allocations: 4 kB / 1.15 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.8813, allocations: 21.72 kB / 1.15 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.8814, allocations: 21.59 kB / 1.15 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8814, allocations: 0 / 1.15 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.716e-05/0.8815, allocations: 49.62 kB / 1.15 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8815, allocations: 8 kB / 1.15 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8815, allocations: 0 / 1.15 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8815, allocations: 0 / 1.15 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.73e-05/0.8816, allocations: 12.05 kB / 1.15 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8816, allocations: 4 kB / 1.15 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.8816, allocations: 3.906 kB / 1.15 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.8816, allocations: 3.938 kB / 1.15 GB, free: 9.156 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.836e-05/0.8817, allocations: 113.8 kB / 1.15 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.8817, allocations: 0 / 1.15 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.8818, allocations: 120.9 kB / 1.15 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.285e-05/0.8819, allocations: 180.3 kB / 1.151 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/0.882, allocations: 184.3 kB / 1.151 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.677e-05/0.8821, allocations: 184.2 kB / 1.151 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.8823, allocations: 401.2 kB / 1.151 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.8823, allocations: 112.9 kB / 1.151 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.8824, allocations: 109 kB / 1.152 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.103e-05/0.8824, allocations: 176.3 kB / 1.152 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/0.8825, allocations: 184.1 kB / 1.152 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.564e-05/0.8826, allocations: 180.3 kB / 1.152 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.101e-05/0.8826, allocations: 180.2 kB / 1.152 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.8828, allocations: 319.7 kB / 1.153 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.8828, allocations: 178.1 kB / 1.153 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.8829, allocations: 180.3 kB / 1.153 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.8831, allocations: 112.9 kB / 1.153 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.8832, allocations: 180.3 kB / 1.153 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.8832, allocations: 108.9 kB / 1.153 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.8832, allocations: 87.2 kB / 1.153 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8832, allocations: 0 / 1.153 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002905/0.8835, allocations: 59.94 kB / 1.153 GB, free: 5.652 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.0003222/0.8839, allocations: 262.6 kB / 1.154 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.566e-05/0.884, allocations: 4 kB / 1.154 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.884, allocations: 0 / 1.154 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.884, allocations: 0 / 1.154 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.8844, allocations: 463.3 kB / 1.154 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.8847, allocations: 197.7 kB / 1.154 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.8851, allocations: 0.6768 MB / 1.155 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.8852, allocations: 4 kB / 1.155 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.8852, allocations: 11.38 kB / 1.155 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.8852, allocations: 4 kB / 1.155 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of Templates: time 0.004055/0.8893, allocations: 1.286 MB / 1.156 GB, free: 2.707 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