Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 216.7 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 70.42 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006377/0.3868, allocations: 3.392 MB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.387, allocations: 55.8 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.387, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.3871, allocations: 4 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.3872, allocations: 15.91 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.3879, allocations: 199.2 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.388, allocations: 35.84 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.388, allocations: 11.92 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.388, allocations: 11.94 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.3881, allocations: 19.97 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3881, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.3885, allocations: 183.5 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.3886, allocations: 11.94 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.3886, allocations: 11.98 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3889, allocations: 139.2 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3889, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3889, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3889, allocations: 0 / 1.287 GB, free: 7.617 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.0004337/0.3893, allocations: 274.2 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3893, allocations: 8.031 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.3894, allocations: 38.75 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3894, allocations: 4.938 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3895, allocations: 110.5 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.3896, allocations: 55.95 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3896, allocations: 8.125 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3898, allocations: 45.62 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3898, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3898, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3898, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.3898, allocations: 15.98 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.3904, allocations: 260 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.3904, allocations: 22.5 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.3904, allocations: 8.922 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.3905, allocations: 35.91 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3906, allocations: 34.56 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3906, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.3907, allocations: 45.64 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3908, allocations: 51.41 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.3909, allocations: 101.8 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3909, allocations: 33.64 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.391, allocations: 88.03 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.391, allocations: 4 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.391, allocations: 9.719 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3911, allocations: 330.9 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.3912, allocations: 0 / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.3912, allocations: 13.72 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.3912, allocations: 25.7 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3912, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.686e-05/0.3913, allocations: 45.64 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3913, allocations: 12.06 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3913, allocations: 7.922 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3913, allocations: 0 / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.3914, allocations: 4 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3914, allocations: 0 / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.3914, allocations: 7.953 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3914, allocations: 0 / 1.289 GB, free: 5.734 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 8.116e-05/0.3915, allocations: 113.8 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3915, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3917, allocations: 132.4 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-05/0.3917, allocations: 176.3 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.951e-05/0.3918, allocations: 180.2 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.487e-05/0.3919, allocations: 180.3 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3922, allocations: 384.2 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.902e-05/0.3922, allocations: 113 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.3923, allocations: 101 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.312e-05/0.3924, allocations: 184.3 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.3924, allocations: 180.3 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-05/0.3925, allocations: 192.1 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.008e-05/0.3926, allocations: 180.3 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.3928, allocations: 311.7 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.3928, allocations: 101 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.3929, allocations: 184.2 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3931, allocations: 105 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.3932, allocations: 188.2 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.3932, allocations: 105 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.3933, allocations: 83.27 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3933, allocations: 0 / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002996/0.3936, allocations: 39.81 kB / 1.292 GB, free: 2.383 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.0006332/0.3942, allocations: 0.8671 MB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.3943, allocations: 8 kB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3943, allocations: 0 / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.3943, allocations: 4 kB / 1.293 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.3948, allocations: 463.7 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.396, allocations: 1.34 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3964, allocations: 0.6768 MB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.3964, allocations: 4 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3964, allocations: 11.38 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3964, allocations: 0 / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.4254, allocations: 2.246 MB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.18, allocations: 11.47 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.145193402000587]