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.001365/0.001366, allocations: 105.7 kB / 16.41 MB, free: 6.023 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.00152/0.00152, allocations: 189.7 kB / 17.34 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8166, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1401/0.9568, allocations: 135.4 MB / 1.299 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.957, allocations: 55.67 kB / 1.3 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.9571, allocations: 0 / 1.3 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.9572, allocations: 8 kB / 1.3 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.9573, allocations: 15.91 kB / 1.3 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.9581, allocations: 236.4 kB / 1.3 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.9582, allocations: 39.84 kB / 1.3 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.9583, allocations: 11.81 kB / 1.3 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.9583, allocations: 11.98 kB / 1.3 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.9584, allocations: 11.98 kB / 1.3 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.9584, allocations: 0 / 1.3 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.9588, allocations: 243.4 kB / 1.3 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.9589, allocations: 11.94 kB / 1.3 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.9589, allocations: 4 kB / 1.3 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.9593, allocations: 191.4 kB / 1.3 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9593, allocations: 0 / 1.3 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9593, allocations: 0 / 1.3 GB, free: 11.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.9593, allocations: 8 kB / 1.3 GB, free: 11.1 MB / 1.029 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.0004373/0.9598, allocations: 353.3 kB / 1.301 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9598, allocations: 12.92 kB / 1.301 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.9599, allocations: 4.844 kB / 1.301 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.96, allocations: 160.4 kB / 1.301 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.96, allocations: 30.27 kB / 1.301 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.9601, allocations: 11.88 kB / 1.301 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.9602, allocations: 41.69 kB / 1.301 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.9602, allocations: 4 kB / 1.301 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9602, allocations: 0 / 1.301 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.9603, allocations: 3.984 kB / 1.301 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.9603, allocations: 15.94 kB / 1.301 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.961, allocations: 0.5989 MB / 1.301 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.9611, allocations: 22.58 kB / 1.302 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.9611, allocations: 4.859 kB / 1.302 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.9613, allocations: 344.4 kB / 1.302 GB, free: 9.207 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.9613, allocations: 30.56 kB / 1.302 GB, free: 9.168 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.9613, allocations: 0 / 1.302 GB, free: 9.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.9615, allocations: 37.64 kB / 1.302 GB, free: 9.125 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.9615, allocations: 51.41 kB / 1.302 GB, free: 9.062 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.9616, allocations: 106 kB / 1.302 GB, free: 8.949 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.9616, allocations: 25.7 kB / 1.302 GB, free: 8.918 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.9617, allocations: 88.05 kB / 1.302 GB, free: 8.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.9617, allocations: 11.84 kB / 1.302 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.9617, allocations: 17.7 kB / 1.302 GB, free: 8.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.9618, allocations: 314.8 kB / 1.302 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.9619, allocations: 4 kB / 1.303 GB, free: 8.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.9619, allocations: 17.91 kB / 1.303 GB, free: 8.449 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.9619, allocations: 29.64 kB / 1.303 GB, free: 8.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9619, allocations: 0 / 1.303 GB, free: 8.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.758e-05/0.962, allocations: 49.72 kB / 1.303 GB, free: 8.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.962, allocations: 4 kB / 1.303 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9621, allocations: 3.984 kB / 1.303 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.9621, allocations: 0 / 1.303 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.9621, allocations: 8 kB / 1.303 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.9621, allocations: 4.062 kB / 1.303 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.9622, allocations: 4 kB / 1.303 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.9622, allocations: 7.938 kB / 1.303 GB, free: 8.328 MB / 1.029 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.673e-05/0.9622, allocations: 105.8 kB / 1.303 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.9623, allocations: 0 / 1.303 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.9624, allocations: 120.9 kB / 1.303 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.545e-05/0.9625, allocations: 184.3 kB / 1.303 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.139e-05/0.9626, allocations: 180.3 kB / 1.303 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/0.9627, allocations: 184.2 kB / 1.303 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.9629, allocations: 409.2 kB / 1.304 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/0.963, allocations: 104.9 kB / 1.304 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.963, allocations: 101 kB / 1.304 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.145e-05/0.9631, allocations: 184.3 kB / 1.304 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.9631, allocations: 188.1 kB / 1.304 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.453e-05/0.9632, allocations: 180.3 kB / 1.304 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.909e-05/0.9633, allocations: 184.2 kB / 1.305 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.9634, allocations: 315.6 kB / 1.305 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.9635, allocations: 186.3 kB / 1.305 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.9636, allocations: 184.2 kB / 1.305 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.9637, allocations: 113 kB / 1.305 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.9638, allocations: 176.3 kB / 1.306 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.9638, allocations: 101 kB / 1.306 GB, free: 4.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.9639, allocations: 99.14 kB / 1.306 GB, free: 4.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9639, allocations: 0 / 1.306 GB, free: 4.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003028/0.9642, allocations: 55.92 kB / 1.306 GB, free: 4.824 MB / 1.029 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.0003331/0.9645, allocations: 250.4 kB / 1.306 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.439e-05/0.9646, allocations: 7.984 kB / 1.306 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9646, allocations: 4 kB / 1.306 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.9646, allocations: 0 / 1.306 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.965, allocations: 459.7 kB / 1.307 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.9653, allocations: 203.8 kB / 1.307 GB, free: 3.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.9655, allocations: 0.669 MB / 1.307 GB, free: 3.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.9655, allocations: 15.42 kB / 1.307 GB, free: 3.16 MB / 1.029 GB Notification: Performance of SimCode: time 2.2e-07/0.9655, allocations: 0 / 1.307 GB, free: 3.16 MB / 1.029 GB Notification: Performance of Templates: time 0.002719/0.9682, allocations: 1.239 MB / 1.309 GB, free: 1.922 MB / 1.029 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