Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.0017/0.0017, allocations: 108 kB / 15.6 MB, free: 132 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.001829/0.001829, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.7 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.5 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3857, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1597/0.5455, allocations: 135.4 MB / 1.2 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.5457, allocations: 47.86 kB / 1.2 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.5457, allocations: 0 / 1.2 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.5459, allocations: 3.938 kB / 1.2 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.546, allocations: 27.78 kB / 1.2 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.547, allocations: 234.5 kB / 1.201 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.039e-05/0.5471, allocations: 35.91 kB / 1.201 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.5472, allocations: 3.984 kB / 1.201 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.5472, allocations: 15.92 kB / 1.201 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.5473, allocations: 11.98 kB / 1.201 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.5473, allocations: 3.938 kB / 1.201 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.5479, allocations: 239.5 kB / 1.201 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.5479, allocations: 12 kB / 1.201 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.548, allocations: 7.938 kB / 1.201 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.5483, allocations: 191.9 kB / 1.201 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5483, allocations: 0 / 1.201 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5484, allocations: 0 / 1.201 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5484, allocations: 0 / 1.201 GB, free: 1.656 MB / 0.9512 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.0004895/0.5489, allocations: 357.2 kB / 1.202 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5489, allocations: 8.031 kB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.549, allocations: 8.844 kB / 1.202 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.5491, allocations: 172.3 kB / 1.202 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.5492, allocations: 30.27 kB / 1.202 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.5492, allocations: 3.938 kB / 1.202 GB, free: 1 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5494, allocations: 45.67 kB / 1.202 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.5494, allocations: 0 / 1.202 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.5494, allocations: 0 / 1.202 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.5494, allocations: 3.984 kB / 1.202 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.659e-05/0.5495, allocations: 23.92 kB / 1.202 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.5503, allocations: 0.5989 MB / 1.202 GB, free: 204 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.5504, allocations: 18.52 kB / 1.202 GB, free: 176 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.5504, allocations: 12.92 kB / 1.202 GB, free: 160 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.5507, allocations: 332.4 kB / 1.203 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5507, allocations: 30.56 kB / 1.203 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5507, allocations: 4 kB / 1.203 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.5509, allocations: 37.64 kB / 1.203 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.551, allocations: 51.41 kB / 1.203 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.551, allocations: 105.8 kB / 1.203 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5511, allocations: 25.7 kB / 1.203 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.5511, allocations: 84.05 kB / 1.203 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.5511, allocations: 7.906 kB / 1.203 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.5512, allocations: 17.7 kB / 1.203 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5513, allocations: 318.9 kB / 1.203 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.5513, allocations: 8 kB / 1.203 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.5513, allocations: 17.7 kB / 1.203 GB, free: 15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.5514, allocations: 21.72 kB / 1.203 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5514, allocations: 3.938 kB / 1.203 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.41e-05/0.5515, allocations: 49.66 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5515, allocations: 4 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.5515, allocations: 4 kB / 1.204 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5515, allocations: 0 / 1.204 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.5516, allocations: 8 kB / 1.204 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5516, allocations: 0 / 1.204 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.5516, allocations: 0 / 1.204 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5516, allocations: 11.88 kB / 1.204 GB, free: 14.88 MB / 0.9669 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.384e-05/0.5517, allocations: 107.9 kB / 1.204 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.5517, allocations: 8.016 kB / 1.204 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.5519, allocations: 121 kB / 1.204 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001275/0.552, allocations: 180.2 kB / 1.204 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.91e-05/0.5521, allocations: 184.3 kB / 1.204 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.626e-05/0.5522, allocations: 180.2 kB / 1.204 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.5525, allocations: 421 kB / 1.205 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/0.5525, allocations: 101 kB / 1.205 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.5526, allocations: 104.9 kB / 1.205 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.044e-05/0.5527, allocations: 180.3 kB / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/0.5527, allocations: 176.3 kB / 1.205 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-05/0.5528, allocations: 184.2 kB / 1.205 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001569/0.553, allocations: 188.5 kB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.5531, allocations: 311.6 kB / 1.206 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5533, allocations: 178.1 kB / 1.206 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.5534, allocations: 188.2 kB / 1.206 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.5535, allocations: 109 kB / 1.206 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.5536, allocations: 180.2 kB / 1.207 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5537, allocations: 105 kB / 1.207 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.5537, allocations: 91.22 kB / 1.207 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5537, allocations: 0 / 1.207 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003406/0.5541, allocations: 51.92 kB / 1.207 GB, free: 11.39 MB / 0.9669 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.0003364/0.5544, allocations: 254.7 kB / 1.207 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.5545, allocations: 15.92 kB / 1.207 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5545, allocations: 0 / 1.207 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.5545, allocations: 0 / 1.207 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.5549, allocations: 469.4 kB / 1.207 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.5552, allocations: 181.8 kB / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.5555, allocations: 0.669 MB / 1.208 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.5555, allocations: 11.98 kB / 1.208 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.5556, allocations: 15.38 kB / 1.208 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.5556, allocations: 3.938 kB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of Templates: time 0.004075/0.5596, allocations: 1.294 MB / 1.21 GB, free: 8.43 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches