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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0021/0.002101, allocations: 192 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.538/2.538, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.517/4.517, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 60.16 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5312, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.151/0.6823, allocations: 133.5 MB / 1.183 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.6825, allocations: 51.8 kB / 1.183 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.6826, allocations: 0 / 1.183 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.6827, allocations: 11.86 kB / 1.183 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.6828, allocations: 4 kB / 1.183 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000875/0.6837, allocations: 230.2 kB / 1.183 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.6838, allocations: 31.91 kB / 1.183 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.6838, allocations: 4 kB / 1.183 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.6839, allocations: 15.92 kB / 1.183 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.684, allocations: 15.92 kB / 1.183 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.684, allocations: 0 / 1.183 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.6845, allocations: 251.4 kB / 1.183 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.6846, allocations: 7.984 kB / 1.183 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.6846, allocations: 8 kB / 1.183 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.685, allocations: 187.9 kB / 1.184 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.685, allocations: 0 / 1.184 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.374e-06/0.685, allocations: 0 / 1.184 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.6851, allocations: 4 kB / 1.184 GB, free: 1.875 MB / 0.9356 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.0004498/0.6855, allocations: 355.5 kB / 1.184 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.6856, allocations: 8.625 kB / 1.184 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.6856, allocations: 42.69 kB / 1.184 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.6857, allocations: 4.938 kB / 1.184 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.6858, allocations: 168.3 kB / 1.184 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.6859, allocations: 30.02 kB / 1.184 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.6859, allocations: 0 / 1.184 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.686, allocations: 41.69 kB / 1.184 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6861, allocations: 0 / 1.184 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6861, allocations: 7.938 kB / 1.184 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.6861, allocations: 0 / 1.184 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.6862, allocations: 19.98 kB / 1.184 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.687, allocations: 0.6027 MB / 1.185 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.6871, allocations: 22.56 kB / 1.185 GB, free: 356 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.6871, allocations: 8.922 kB / 1.185 GB, free: 344 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.6873, allocations: 332.4 kB / 1.185 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6874, allocations: 34.56 kB / 1.185 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.6874, allocations: 0 / 1.185 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.6875, allocations: 41.62 kB / 1.185 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.6876, allocations: 55.41 kB / 1.185 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.6877, allocations: 97.86 kB / 1.185 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.6877, allocations: 25.7 kB / 1.185 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.6877, allocations: 92.03 kB / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.6877, allocations: 128 / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.6878, allocations: 17.72 kB / 1.185 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6879, allocations: 322.7 kB / 1.186 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.6879, allocations: 7.984 kB / 1.186 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.6879, allocations: 13.72 kB / 1.186 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.688, allocations: 25.66 kB / 1.186 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.688, allocations: 4 kB / 1.186 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.916e-05/0.6881, allocations: 53.59 kB / 1.186 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6881, allocations: 4 kB / 1.186 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6881, allocations: 0 / 1.186 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6881, allocations: 4 kB / 1.186 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.6882, allocations: 7.938 kB / 1.186 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6882, allocations: 0 / 1.186 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.6882, allocations: 7.922 kB / 1.186 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.6883, allocations: 4 kB / 1.186 GB, free: 15.05 MB / 0.9512 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.692e-05/0.6883, allocations: 109.9 kB / 1.186 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.6884, allocations: 4 kB / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.6885, allocations: 113 kB / 1.186 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-05/0.6886, allocations: 188.2 kB / 1.186 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.693e-05/0.6886, allocations: 180.2 kB / 1.186 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/0.6887, allocations: 188.1 kB / 1.187 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.689, allocations: 413.2 kB / 1.187 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/0.689, allocations: 101 kB / 1.187 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.6891, allocations: 104.9 kB / 1.187 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.939e-05/0.6891, allocations: 180.3 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.6892, allocations: 188.2 kB / 1.188 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.893e-05/0.6893, allocations: 180.3 kB / 1.188 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-05/0.6893, allocations: 176.3 kB / 1.188 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.6895, allocations: 315.7 kB / 1.188 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.6896, allocations: 185.9 kB / 1.188 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.6897, allocations: 180.3 kB / 1.189 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.6899, allocations: 109 kB / 1.189 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.6899, allocations: 180.2 kB / 1.189 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.69, allocations: 104.9 kB / 1.189 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.69, allocations: 87.28 kB / 1.189 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.69, allocations: 0 / 1.189 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003261/0.6904, allocations: 55.92 kB / 1.189 GB, free: 11.56 MB / 0.9512 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.000653/0.691, allocations: 0.8872 MB / 1.19 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.6911, allocations: 11.98 kB / 1.19 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6911, allocations: 0 / 1.19 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.6911, allocations: 0 / 1.19 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.6916, allocations: 475.5 kB / 1.19 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.6926, allocations: 1.352 MB / 1.192 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6929, allocations: 0.6729 MB / 1.192 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.6929, allocations: 11.92 kB / 1.192 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.6929, allocations: 11.42 kB / 1.192 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.693, allocations: 4 kB / 1.192 GB, free: 8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4011/1.094, allocations: 2.101 MB / 1.194 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003951/1.095, allocations: 214.5 kB / 1.195 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/4.45, allocations: 2.531 kB / 1.195 GB, free: 5.781 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > 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