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.007432/0.007432, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001392/0.001392, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 77.88 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2513, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.136/0.3873, allocations: 135.4 MB / 1.22 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.3875, allocations: 43.88 kB / 1.22 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.3876, allocations: 0 / 1.22 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3877, allocations: 7.922 kB / 1.22 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.3878, allocations: 19.92 kB / 1.22 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.3886, allocations: 238.9 kB / 1.22 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.113e-05/0.3887, allocations: 35.86 kB / 1.22 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3888, allocations: 0 / 1.22 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.3888, allocations: 15.97 kB / 1.22 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.3889, allocations: 11.94 kB / 1.22 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3889, allocations: 0 / 1.22 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.3894, allocations: 251.4 kB / 1.22 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.3894, allocations: 7.984 kB / 1.22 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.3895, allocations: 11.98 kB / 1.22 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.3898, allocations: 182.5 kB / 1.22 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3899, allocations: 4 kB / 1.22 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3899, allocations: 3.938 kB / 1.22 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3899, allocations: 4 kB / 1.221 GB, free: 9.215 MB / 0.9825 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.0004002/0.3903, allocations: 356.3 kB / 1.221 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3903, allocations: 12.02 kB / 1.221 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.3904, allocations: 34.75 kB / 1.221 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3904, allocations: 4.938 kB / 1.221 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3906, allocations: 180.2 kB / 1.221 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.3906, allocations: 30.02 kB / 1.221 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3906, allocations: 4 kB / 1.221 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3908, allocations: 41.69 kB / 1.221 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3908, allocations: 0 / 1.221 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3908, allocations: 0 / 1.221 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3908, allocations: 0 / 1.221 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.3909, allocations: 19.92 kB / 1.221 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.3917, allocations: 0.6028 MB / 1.222 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.3918, allocations: 18.56 kB / 1.222 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.3918, allocations: 8.922 kB / 1.222 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.392, allocations: 332.4 kB / 1.222 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.392, allocations: 34.56 kB / 1.222 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.392, allocations: 4 kB / 1.222 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.3922, allocations: 37.64 kB / 1.222 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.3922, allocations: 51.41 kB / 1.222 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.3923, allocations: 105.8 kB / 1.222 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3923, allocations: 25.7 kB / 1.222 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.3924, allocations: 84.05 kB / 1.222 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-06/0.3924, allocations: 0 / 1.222 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3924, allocations: 21.75 kB / 1.222 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.3925, allocations: 326.8 kB / 1.223 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.3926, allocations: 0 / 1.223 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.3926, allocations: 13.72 kB / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.3926, allocations: 29.64 kB / 1.223 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3926, allocations: 0 / 1.223 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.534e-05/0.3927, allocations: 49.64 kB / 1.223 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3928, allocations: 4 kB / 1.223 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3928, allocations: 7.984 kB / 1.223 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3928, allocations: 0 / 1.223 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.3928, allocations: 4 kB / 1.223 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3928, allocations: 0 / 1.223 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.3929, allocations: 7.938 kB / 1.223 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3929, allocations: 3.938 kB / 1.223 GB, free: 6.402 MB / 0.9825 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.966e-05/0.393, allocations: 113.8 kB / 1.223 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.393, allocations: 8.062 kB / 1.223 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3931, allocations: 120.9 kB / 1.223 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.377e-05/0.3932, allocations: 176.3 kB / 1.223 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.163e-05/0.3932, allocations: 176.3 kB / 1.223 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/0.3933, allocations: 188.1 kB / 1.224 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3935, allocations: 405.2 kB / 1.224 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/0.3935, allocations: 112.9 kB / 1.224 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.3936, allocations: 112.9 kB / 1.224 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.342e-05/0.3937, allocations: 176.3 kB / 1.224 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.3937, allocations: 180.2 kB / 1.225 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.217e-05/0.3938, allocations: 180.4 kB / 1.225 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.736e-05/0.3938, allocations: 188.2 kB / 1.225 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.394, allocations: 315.7 kB / 1.225 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.394, allocations: 182 kB / 1.225 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.3941, allocations: 180.2 kB / 1.226 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3943, allocations: 112.9 kB / 1.226 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.3943, allocations: 180.3 kB / 1.226 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3944, allocations: 108.9 kB / 1.226 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.3944, allocations: 83.27 kB / 1.226 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.034e-06/0.3944, allocations: 0 / 1.226 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003085/0.3947, allocations: 59.88 kB / 1.226 GB, free: 2.891 MB / 0.9825 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.0005399/0.3953, allocations: 0.8831 MB / 1.227 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.3954, allocations: 15.94 kB / 1.227 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3954, allocations: 4 kB / 1.227 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3954, allocations: 0 / 1.227 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3958, allocations: 459.6 kB / 1.227 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3969, allocations: 1.36 MB / 1.229 GB, free: 60 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3971, allocations: 0.6768 MB / 1.229 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.3972, allocations: 4 kB / 1.229 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.3972, allocations: 11.44 kB / 1.229 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3972, allocations: 0 / 1.229 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.4157, allocations: 2.22 MB / 1.232 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.68, allocations: 0 / 1.232 GB, free: 13.22 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/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