Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.001025/0.001026, 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.0009671/0.0009671, allocations: 192.8 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 1.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4901, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.116/0.6062, allocations: 133.5 MB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.6064, allocations: 43.75 kB / 1.08 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.271e-05/0.6064, allocations: 0 / 1.08 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.6065, allocations: 15.92 kB / 1.08 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.6065, allocations: 7.984 kB / 1.08 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.6072, allocations: 223 kB / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.6073, allocations: 43.84 kB / 1.08 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 2.433e-05/0.6073, allocations: 3.984 kB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.6073, allocations: 15.94 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.6074, allocations: 15.97 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.6074, allocations: 0 / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.6078, allocations: 247.4 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.6078, allocations: 11.97 kB / 1.08 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.6078, allocations: 11.94 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.6081, allocations: 201.8 kB / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.6081, allocations: 0 / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6081, allocations: 4 kB / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.6082, allocations: 3.938 kB / 1.08 GB, free: 11.22 MB / 0.8419 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.0002829/0.6084, allocations: 359.4 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.6085, allocations: 8.031 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.6085, allocations: 30.75 kB / 1.081 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.6085, allocations: 4.938 kB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.866e-05/0.6086, allocations: 160.4 kB / 1.081 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.6087, allocations: 30.02 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-06/0.6087, allocations: 11.94 kB / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.6088, allocations: 45.67 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.6088, allocations: 0 / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.6088, allocations: 0 / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.6088, allocations: 4 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.6089, allocations: 19.97 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.6094, allocations: 0.5911 MB / 1.082 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 2.82e-05/0.6095, allocations: 26.52 kB / 1.082 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.141e-05/0.6095, allocations: 4.859 kB / 1.082 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.6097, allocations: 336.5 kB / 1.082 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.6097, allocations: 34.56 kB / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.6097, allocations: 0 / 1.082 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000102/0.6098, allocations: 33.61 kB / 1.082 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.6098, allocations: 59.47 kB / 1.082 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.6099, allocations: 109.8 kB / 1.082 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6099, allocations: 25.7 kB / 1.082 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.61, allocations: 84.05 kB / 1.082 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.61, allocations: 11.94 kB / 1.082 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.61, allocations: 17.7 kB / 1.082 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.6101, allocations: 314.8 kB / 1.083 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.6101, allocations: 4 kB / 1.083 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.6101, allocations: 25.7 kB / 1.083 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.6102, allocations: 21.72 kB / 1.083 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6102, allocations: 0 / 1.083 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.708e-05/0.6102, allocations: 45.62 kB / 1.083 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.6102, allocations: 8 kB / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.6103, allocations: 0 / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.6103, allocations: 64 / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.317e-05/0.6103, allocations: 8 kB / 1.083 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.6103, allocations: 4 kB / 1.083 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.6103, allocations: 15.84 kB / 1.083 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6103, allocations: 0 / 1.083 GB, free: 8.41 MB / 0.8419 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 5.773e-05/0.6104, allocations: 117.8 kB / 1.083 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.6104, allocations: 0 / 1.083 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.6105, allocations: 113 kB / 1.083 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/0.6106, allocations: 188.2 kB / 1.083 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.645e-05/0.6106, allocations: 184.2 kB / 1.083 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/0.6107, allocations: 184.2 kB / 1.084 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.6109, allocations: 405.2 kB / 1.084 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/0.6109, allocations: 105 kB / 1.084 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.6109, allocations: 105 kB / 1.084 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.226e-05/0.611, allocations: 180.2 kB / 1.084 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.611, allocations: 176.3 kB / 1.084 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.595e-05/0.6111, allocations: 188.2 kB / 1.085 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.224e-05/0.6111, allocations: 176.3 kB / 1.085 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.991e-05/0.6112, allocations: 311.7 kB / 1.085 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.6113, allocations: 182.1 kB / 1.085 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.6113, allocations: 188.2 kB / 1.085 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6115, allocations: 105 kB / 1.086 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.6115, allocations: 188.1 kB / 1.086 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.6116, allocations: 112.9 kB / 1.086 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.6116, allocations: 83.28 kB / 1.086 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6116, allocations: 0 / 1.086 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002717/0.6119, allocations: 55.92 kB / 1.086 GB, free: 4.91 MB / 0.8419 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.0004912/0.6124, allocations: 0.8867 MB / 1.087 GB, free: 4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.725e-05/0.6124, allocations: 12 kB / 1.087 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6125, allocations: 0 / 1.087 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.6125, allocations: 0 / 1.087 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.6128, allocations: 472.6 kB / 1.087 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.6137, allocations: 1.348 MB / 1.089 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.6139, allocations: 0.6807 MB / 1.089 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.614, allocations: 4 kB / 1.089 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.614, allocations: 7.438 kB / 1.089 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.614, allocations: 0 / 1.089 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.487/2.101, allocations: 2.102 MB / 1.091 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/2.102, allocations: 204.8 kB / 1.092 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/3.792, allocations: 0 / 1.092 GB, free: 15.14 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches