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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00147/0.00147, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001627/0.001627, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 56.34 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3282, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6172/0.9455, allocations: 135.4 MB / 1.159 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.9457, allocations: 61.05 kB / 1.159 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.9457, allocations: 0 / 1.159 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.9458, allocations: 3.203 kB / 1.159 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.946, allocations: 12.94 kB / 1.159 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.9468, allocations: 234.6 kB / 1.159 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 8.63e-05/0.9469, allocations: 37.22 kB / 1.159 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.9469, allocations: 2.094 kB / 1.159 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.947, allocations: 15.23 kB / 1.159 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.9471, allocations: 16.48 kB / 1.159 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.9471, allocations: 3.969 kB / 1.159 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.9475, allocations: 244.1 kB / 1.16 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.9476, allocations: 4.562 kB / 1.16 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.9476, allocations: 9.453 kB / 1.16 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.9479, allocations: 185 kB / 1.16 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9479, allocations: 1.469 kB / 1.16 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.393e-06/0.948, allocations: 0 / 1.16 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.948, allocations: 0 / 1.16 GB, free: 5.492 MB / 0.8731 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.0004215/0.9484, allocations: 358.2 kB / 1.16 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.9484, allocations: 10.19 kB / 1.16 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.9485, allocations: 6.031 kB / 1.16 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.9486, allocations: 167.7 kB / 1.16 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.9487, allocations: 31.78 kB / 1.16 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.9487, allocations: 9.25 kB / 1.16 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.9489, allocations: 40.27 kB / 1.16 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9489, allocations: 0 / 1.16 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.949, allocations: 4 kB / 1.16 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.949, allocations: 5.125 kB / 1.16 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.9491, allocations: 18.67 kB / 1.16 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.9501, allocations: 0.5964 MB / 1.161 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.066e-05/0.9501, allocations: 20.92 kB / 1.161 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.9501, allocations: 5.953 kB / 1.161 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/0.9504, allocations: 337.3 kB / 1.161 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.9504, allocations: 35.84 kB / 1.161 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.9504, allocations: 0 / 1.161 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.9506, allocations: 33.16 kB / 1.161 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.9506, allocations: 56.66 kB / 1.161 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.9507, allocations: 105.3 kB / 1.161 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.9508, allocations: 29.64 kB / 1.162 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.9508, allocations: 93.67 kB / 1.162 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.9508, allocations: 3.938 kB / 1.162 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.9509, allocations: 17.03 kB / 1.162 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.951, allocations: 318.8 kB / 1.162 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.951, allocations: 4.281 kB / 1.162 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.951, allocations: 18.44 kB / 1.162 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.9511, allocations: 25.95 kB / 1.162 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9511, allocations: 0 / 1.162 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.398e-05/0.9511, allocations: 48.98 kB / 1.162 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9512, allocations: 6.125 kB / 1.162 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9512, allocations: 0 / 1.162 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.9512, allocations: 1.438 kB / 1.162 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.9512, allocations: 6.844 kB / 1.162 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9512, allocations: 1.5 kB / 1.162 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.9513, allocations: 3.969 kB / 1.162 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.9513, allocations: 6.812 kB / 1.162 GB, free: 2.957 MB / 0.8731 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.798e-05/0.9514, allocations: 117.2 kB / 1.162 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.9514, allocations: 5.031 kB / 1.162 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.9515, allocations: 126 kB / 1.162 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-05/0.9516, allocations: 177.5 kB / 1.162 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.793e-05/0.9516, allocations: 185.3 kB / 1.163 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.9517, allocations: 182.6 kB / 1.163 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.9519, allocations: 409.5 kB / 1.163 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.952, allocations: 108.9 kB / 1.163 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.952, allocations: 102.3 kB / 1.163 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.9521, allocations: 181.5 kB / 1.164 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.9522, allocations: 183.7 kB / 1.164 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001293/0.9523, allocations: 181.5 kB / 1.164 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001158/0.9525, allocations: 180.5 kB / 1.164 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.9526, allocations: 307.4 kB / 1.164 GB, free: 452 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.9527, allocations: 192.5 kB / 1.165 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.9528, allocations: 182 kB / 1.165 GB, free: 48 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9529, allocations: 109.5 kB / 1.165 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.953, allocations: 177.6 kB / 1.165 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.953, allocations: 108.8 kB / 1.165 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.9531, allocations: 84.66 kB / 1.165 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9531, allocations: 4 kB / 1.165 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003151/0.9534, allocations: 58.58 kB / 1.165 GB, free: 15.55 MB / 0.8887 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.0002964/0.9537, allocations: 249.8 kB / 1.165 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.9538, allocations: 16.45 kB / 1.166 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9538, allocations: 0 / 1.166 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.9538, allocations: 5.438 kB / 1.166 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.9542, allocations: 465.8 kB / 1.166 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.9545, allocations: 185.1 kB / 1.166 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.9547, allocations: 0.6739 MB / 1.167 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.9547, allocations: 11.53 kB / 1.167 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.9548, allocations: 8.875 kB / 1.167 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/0.9548, allocations: 0 / 1.167 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of Templates: time 0.003556/0.9583, allocations: 1.285 MB / 1.168 GB, free: 13.82 MB / 0.8887 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches