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.001898/0.001898, allocations: 103.2 kB / 16.45 MB, free: 6.453 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.002392/0.002392, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.901/2.901, allocations: 476.7 MB / 0.7672 GB, free: 5.266 MB / 0.6231 GB " [Timeout remaining time 176] 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.002233/0.002233, allocations: 67.88 kB / 1.112 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8573/0.8595, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005614/0.8651, allocations: 3.378 MB / 1.282 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.8653, allocations: 51.86 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.8653, allocations: 4 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.8654, allocations: 3.938 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.8655, allocations: 19.91 kB / 1.282 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.8661, allocations: 182.4 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.8662, allocations: 35.84 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.8663, allocations: 12 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.8663, allocations: 8 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.8664, allocations: 15.91 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.8664, allocations: 4 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.8668, allocations: 179.5 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.8669, allocations: 11.98 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.8669, allocations: 7.938 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.8672, allocations: 133.6 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8672, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8672, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8672, allocations: 4 kB / 1.282 GB, free: 9.41 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.0005069/0.8677, allocations: 359.1 kB / 1.283 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.8678, allocations: 8.031 kB / 1.283 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.8678, allocations: 34.75 kB / 1.283 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.8679, allocations: 4.938 kB / 1.283 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.868, allocations: 160.4 kB / 1.283 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.8681, allocations: 26.27 kB / 1.283 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.8681, allocations: 12.11 kB / 1.283 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.8682, allocations: 49.67 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8682, allocations: 0 / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8683, allocations: 3.984 kB / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.8683, allocations: 7.938 kB / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.8683, allocations: 11.94 kB / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.8691, allocations: 0.5833 MB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.8691, allocations: 22.56 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.8691, allocations: 8.859 kB / 1.283 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.8694, allocations: 336.5 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.8695, allocations: 38.56 kB / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.8695, allocations: 0 / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.8696, allocations: 33.64 kB / 1.284 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.8697, allocations: 55.39 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.8698, allocations: 105.9 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.8698, allocations: 29.7 kB / 1.284 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.8699, allocations: 84.09 kB / 1.284 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.8699, allocations: 7.984 kB / 1.284 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.8699, allocations: 17.72 kB / 1.284 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8701, allocations: 318.7 kB / 1.284 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.8701, allocations: 0 / 1.284 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.8701, allocations: 21.7 kB / 1.284 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.8702, allocations: 25.66 kB / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8702, allocations: 0 / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.434e-05/0.8703, allocations: 45.69 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.8703, allocations: 8 kB / 1.285 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8703, allocations: 0 / 1.285 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8703, allocations: 3.938 kB / 1.285 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.8703, allocations: 4 kB / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8704, allocations: 64 / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.8704, allocations: 11.95 kB / 1.285 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.8704, allocations: 0 / 1.285 GB, free: 6.613 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 0.0001344/0.8705, allocations: 121.8 kB / 1.285 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.8705, allocations: 4 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.8707, allocations: 117 kB / 1.285 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-05/0.8708, allocations: 184.2 kB / 1.285 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.8709, allocations: 184.3 kB / 1.285 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-05/0.871, allocations: 184.2 kB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.8713, allocations: 409.1 kB / 1.286 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.872e-05/0.8713, allocations: 105 kB / 1.286 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.8714, allocations: 104.9 kB / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.8715, allocations: 180.4 kB / 1.286 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.8716, allocations: 188.2 kB / 1.286 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.522e-05/0.8717, allocations: 180.3 kB / 1.286 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.045e-05/0.8718, allocations: 180.2 kB / 1.287 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.872, allocations: 307.8 kB / 1.287 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.8721, allocations: 190.2 kB / 1.287 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.8722, allocations: 180.3 kB / 1.287 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.8724, allocations: 108.9 kB / 1.287 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.8725, allocations: 188.2 kB / 1.288 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.8726, allocations: 105 kB / 1.288 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001546/0.8727, allocations: 83.28 kB / 1.288 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8727, allocations: 0 / 1.288 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003124/0.873, allocations: 43.8 kB / 1.288 GB, free: 3.113 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.0007184/0.8738, allocations: 0.8715 MB / 1.289 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.981e-05/0.8738, allocations: 11.98 kB / 1.289 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8739, allocations: 0 / 1.289 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.8739, allocations: 7.938 kB / 1.289 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.8743, allocations: 458.3 kB / 1.289 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.8757, allocations: 1.332 MB / 1.29 GB, free: 332 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.8761, allocations: 0.6729 MB / 1.291 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.747e-05/0.8762, allocations: 10.81 kB / 1.291 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.8762, allocations: 11.42 kB / 1.291 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.8762, allocations: 0 / 1.291 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.9048, allocations: 2.176 MB / 1.293 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.926, allocations: 8.562 kB / 1.293 GB, free: 13.62 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.18284328491427]