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.005692/0.005692, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001324/0.001324, allocations: 193 kB / 16.67 MB, free: 5.934 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.59/2.59, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.12 kB / 1.018 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.9439, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2502/1.194, allocations: 135.4 MB / 1.299 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002706/1.195, allocations: 51.88 kB / 1.299 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/1.195, allocations: 0 / 1.299 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/1.195, allocations: 7.922 kB / 1.299 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/1.195, allocations: 11.92 kB / 1.299 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/1.196, allocations: 252.1 kB / 1.299 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/1.196, allocations: 23.92 kB / 1.299 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/1.196, allocations: 8 kB / 1.299 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/1.196, allocations: 19.86 kB / 1.299 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/1.197, allocations: 7.984 kB / 1.299 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/1.197, allocations: 4 kB / 1.299 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007919/1.197, allocations: 239.5 kB / 1.299 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/1.197, allocations: 7.938 kB / 1.299 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/1.197, allocations: 19.91 kB / 1.299 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006067/1.198, allocations: 180.2 kB / 1.3 GB, free: 11.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.198, allocations: 0 / 1.3 GB, free: 11.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/1.198, allocations: 0 / 1.3 GB, free: 11.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.198, allocations: 0 / 1.3 GB, free: 11.15 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.0005921/1.199, allocations: 367.1 kB / 1.3 GB, free: 10.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.309e-05/1.199, allocations: 12.62 kB / 1.3 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/1.199, allocations: 0.9375 kB / 1.3 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/1.199, allocations: 164.3 kB / 1.3 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/1.199, allocations: 30.27 kB / 1.3 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.199, allocations: 7.938 kB / 1.3 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/1.199, allocations: 49.66 kB / 1.3 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.2, allocations: 0 / 1.3 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.2, allocations: 0 / 1.3 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/1.2, allocations: 4 kB / 1.3 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/1.2, allocations: 15.98 kB / 1.3 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/1.201, allocations: 0.6027 MB / 1.301 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.56e-05/1.201, allocations: 22.52 kB / 1.301 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/1.201, allocations: 4.859 kB / 1.301 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/1.201, allocations: 340.5 kB / 1.301 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/1.201, allocations: 30.56 kB / 1.301 GB, free: 9.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/1.201, allocations: 0 / 1.301 GB, free: 9.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002208/1.202, allocations: 33.64 kB / 1.301 GB, free: 9.168 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.202, allocations: 63.47 kB / 1.301 GB, free: 9.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.202, allocations: 105.8 kB / 1.301 GB, free: 8.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.202, allocations: 25.7 kB / 1.301 GB, free: 8.949 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/1.202, allocations: 84.09 kB / 1.301 GB, free: 8.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-06/1.202, allocations: 4 kB / 1.301 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/1.202, allocations: 21.7 kB / 1.301 GB, free: 8.832 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.202, allocations: 314.8 kB / 1.302 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/1.202, allocations: 4 kB / 1.302 GB, free: 8.512 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/1.202, allocations: 21.7 kB / 1.302 GB, free: 8.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/1.202, allocations: 17.72 kB / 1.302 GB, free: 8.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.202, allocations: 3.938 kB / 1.302 GB, free: 8.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001592/1.203, allocations: 49.64 kB / 1.302 GB, free: 8.402 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.203, allocations: 8 kB / 1.302 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.203, allocations: 0 / 1.302 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.203, allocations: 4.062 kB / 1.302 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/1.203, allocations: 4 kB / 1.302 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.203, allocations: 4 kB / 1.302 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/1.203, allocations: 3.938 kB / 1.302 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.203, allocations: 7.938 kB / 1.302 GB, free: 8.371 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 0.0001139/1.203, allocations: 117.8 kB / 1.302 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/1.203, allocations: 0 / 1.302 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/1.203, allocations: 117 kB / 1.302 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.986e-05/1.203, allocations: 184.2 kB / 1.302 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.8e-05/1.203, allocations: 180.2 kB / 1.302 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.329e-05/1.203, allocations: 184.2 kB / 1.303 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/1.204, allocations: 409.1 kB / 1.303 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.172e-05/1.204, allocations: 105 kB / 1.303 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/1.204, allocations: 108.9 kB / 1.303 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.256e-05/1.204, allocations: 180.3 kB / 1.303 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/1.204, allocations: 176.3 kB / 1.304 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.867e-05/1.204, allocations: 188.2 kB / 1.304 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.89e-05/1.204, allocations: 176.3 kB / 1.304 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/1.205, allocations: 311.7 kB / 1.304 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.205, allocations: 186.3 kB / 1.304 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.205, allocations: 184.2 kB / 1.305 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/1.205, allocations: 109 kB / 1.305 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.205, allocations: 196.1 kB / 1.305 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/1.205, allocations: 101 kB / 1.305 GB, free: 5.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.541e-05/1.205, allocations: 87.22 kB / 1.305 GB, free: 4.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.2e-07/1.205, allocations: 0 / 1.305 GB, free: 4.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005699/1.206, allocations: 55.73 kB / 1.305 GB, free: 4.867 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.0005088/1.207, allocations: 263 kB / 1.305 GB, free: 4.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001008/1.207, allocations: 7.938 kB / 1.305 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.207, allocations: 0 / 1.305 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.207, allocations: 0 / 1.305 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/1.207, allocations: 466.2 kB / 1.306 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/1.208, allocations: 178 kB / 1.306 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/1.208, allocations: 0.6806 MB / 1.307 GB, free: 3.227 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.882e-05/1.208, allocations: 4 kB / 1.307 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/1.208, allocations: 7.438 kB / 1.307 GB, free: 3.215 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/1.208, allocations: 4 kB / 1.307 GB, free: 3.211 MB / 1.029 GB Notification: Performance of Templates: time 0.005964/1.214, allocations: 1.29 MB / 1.308 GB, free: 1.926 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches