Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.001364/0.001364, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001494/0.001494, allocations: 215.8 kB / 22.26 MB, free: 5.125 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.973 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.771/2.771, allocations: 476.7 MB / 0.7707 GB, free: 4.254 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.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.002077/0.002077, allocations: 68.77 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 170 MB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1754/0.5004, allocations: 138.7 MB / 1.419 GB, free: 344 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.5006, allocations: 55.8 kB / 1.419 GB, free: 288 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.5006, allocations: 0 / 1.419 GB, free: 288 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.5007, allocations: 7.922 kB / 1.419 GB, free: 280 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.5008, allocations: 11.92 kB / 1.419 GB, free: 268 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.5017, allocations: 251 kB / 1.419 GB, free: 16 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.5018, allocations: 27.91 kB / 1.419 GB, free: 15.99 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.5018, allocations: 8 kB / 1.419 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.5019, allocations: 15.81 kB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.502, allocations: 15.92 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.502, allocations: 4 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.5025, allocations: 259.4 kB / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.5026, allocations: 11.92 kB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.5026, allocations: 15.92 kB / 1.419 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.5029, allocations: 179.1 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5029, allocations: 4 kB / 1.42 GB, free: 15.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.182e-06/0.503, allocations: 4 kB / 1.42 GB, free: 15.49 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.503, allocations: 0 / 1.42 GB, free: 15.49 MB / 1.123 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.0004848/0.5034, allocations: 284.1 kB / 1.42 GB, free: 15.18 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5035, allocations: 12.03 kB / 1.42 GB, free: 15.17 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.5035, allocations: 34.73 kB / 1.42 GB, free: 15.13 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.5035, allocations: 8.875 kB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.5036, allocations: 102.5 kB / 1.42 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.5037, allocations: 59.72 kB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.5038, allocations: 0 / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5039, allocations: 45.67 kB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5039, allocations: 0 / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.5039, allocations: 0 / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.5039, allocations: 8 kB / 1.42 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927e-05/0.504, allocations: 15.98 kB / 1.42 GB, free: 14.85 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.5046, allocations: 275.9 kB / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.5046, allocations: 14.58 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.5046, allocations: 8.922 kB / 1.42 GB, free: 14.5 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.241e-05/0.5047, allocations: 35.97 kB / 1.42 GB, free: 14.47 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5048, allocations: 30.56 kB / 1.42 GB, free: 14.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5048, allocations: 0 / 1.42 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.5049, allocations: 33.64 kB / 1.421 GB, free: 14.39 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.5049, allocations: 55.41 kB / 1.421 GB, free: 14.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.505, allocations: 113.7 kB / 1.421 GB, free: 14.2 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.5051, allocations: 25.7 kB / 1.421 GB, free: 14.17 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.5051, allocations: 96.2 kB / 1.421 GB, free: 14.07 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.5051, allocations: 3.953 kB / 1.421 GB, free: 14.07 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.5052, allocations: 13.72 kB / 1.421 GB, free: 14.05 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5053, allocations: 326.7 kB / 1.421 GB, free: 13.72 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.5053, allocations: 4 kB / 1.421 GB, free: 13.72 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.5054, allocations: 13.72 kB / 1.421 GB, free: 13.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.5054, allocations: 29.64 kB / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5054, allocations: 0 / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.02e-05/0.5055, allocations: 41.7 kB / 1.421 GB, free: 13.62 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5055, allocations: 8 kB / 1.421 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5055, allocations: 3.984 kB / 1.421 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5055, allocations: 0 / 1.421 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/0.5056, allocations: 7.938 kB / 1.421 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5056, allocations: 4 kB / 1.421 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.5056, allocations: 3.938 kB / 1.421 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5056, allocations: 4.062 kB / 1.421 GB, free: 13.59 MB / 1.123 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 9.121e-05/0.5057, allocations: 109.8 kB / 1.421 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.5057, allocations: 3.953 kB / 1.421 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.5058, allocations: 121 kB / 1.421 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.872e-05/0.5059, allocations: 180.2 kB / 1.422 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001077/0.506, allocations: 180.3 kB / 1.422 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.003e-05/0.5061, allocations: 188.1 kB / 1.422 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.5064, allocations: 376.3 kB / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/0.5065, allocations: 105 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.5065, allocations: 104.9 kB / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.828e-05/0.5066, allocations: 176.3 kB / 1.423 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5067, allocations: 192.2 kB / 1.423 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.034e-05/0.5068, allocations: 184.3 kB / 1.423 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.557e-05/0.5069, allocations: 176.3 kB / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.5071, allocations: 311.9 kB / 1.424 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.5072, allocations: 112.9 kB / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.5073, allocations: 180.3 kB / 1.424 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.5075, allocations: 109 kB / 1.424 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.5075, allocations: 180.2 kB / 1.424 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.5076, allocations: 108.9 kB / 1.424 GB, free: 10.36 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.5076, allocations: 87.27 kB / 1.424 GB, free: 10.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.5076, allocations: 0 / 1.424 GB, free: 10.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00034/0.508, allocations: 63.75 kB / 1.424 GB, free: 10.21 MB / 1.123 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.0006598/0.5086, allocations: 0.8826 MB / 1.425 GB, free: 9.297 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 7.239e-05/0.5087, allocations: 4 kB / 1.425 GB, free: 9.293 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5087, allocations: 0 / 1.425 GB, free: 9.293 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.5087, allocations: 0 / 1.425 GB, free: 9.293 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.5092, allocations: 475.6 kB / 1.426 GB, free: 8.824 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.5104, allocations: 1.344 MB / 1.427 GB, free: 7.391 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5107, allocations: 0.6729 MB / 1.428 GB, free: 6.691 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.5108, allocations: 8 kB / 1.428 GB, free: 6.684 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.5108, allocations: 11.44 kB / 1.428 GB, free: 6.672 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/0.5108, allocations: 0 / 1.428 GB, free: 6.672 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.5384, allocations: 2.327 MB / 1.43 GB, free: 4.488 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.53, allocations: 8.047 kB / 1.43 GB, free: 4.48 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_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_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.20033492500079]