Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008254/0.0008254, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.000783/0.000783, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8672/0.8672, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.638e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.515/0.515, allocations: 119 MB / 1.116 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.5152, allocations: 56.89 kB / 1.116 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.5152, allocations: 0 / 1.116 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.5153, allocations: 6.625 kB / 1.116 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.5154, allocations: 16.78 kB / 1.116 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.5162, allocations: 250.5 kB / 1.116 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.5163, allocations: 37.48 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.5163, allocations: 1.656 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.5164, allocations: 19.19 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.5164, allocations: 13.38 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.5164, allocations: 1.344 kB / 1.116 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.5168, allocations: 173.8 kB / 1.116 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.5168, allocations: 8.609 kB / 1.116 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.5169, allocations: 17.78 kB / 1.116 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.5172, allocations: 179.6 kB / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.5172, allocations: 0 / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5172, allocations: 0 / 1.117 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5172, allocations: 0 / 1.117 GB, free: 10.34 MB / 0.9948 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.0003577/0.5175, allocations: 282.1 kB / 1.117 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5176, allocations: 10.11 kB / 1.117 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.5176, allocations: 32.47 kB / 1.117 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.5176, allocations: 5.359 kB / 1.117 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.5177, allocations: 105.5 kB / 1.117 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.5177, allocations: 57.38 kB / 1.117 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.5177, allocations: 5.844 kB / 1.117 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.5179, allocations: 74.48 kB / 1.117 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.5179, allocations: 0 / 1.117 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5179, allocations: 3.812 kB / 1.117 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5179, allocations: 2.25 kB / 1.117 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.5179, allocations: 20.19 kB / 1.117 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.5184, allocations: 272.5 kB / 1.117 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.5185, allocations: 21.38 kB / 1.117 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.5185, allocations: 14.02 kB / 1.117 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.5185, allocations: 27.08 kB / 1.117 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.5185, allocations: 33.23 kB / 1.118 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.5186, allocations: 0 / 1.118 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.5187, allocations: 43.08 kB / 1.118 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.5187, allocations: 52.34 kB / 1.118 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.863e-05/0.5187, allocations: 98.52 kB / 1.118 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.5187, allocations: 26.7 kB / 1.118 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.5188, allocations: 93.56 kB / 1.118 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.5188, allocations: 6.031 kB / 1.118 GB, free: 9.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.5188, allocations: 18.16 kB / 1.118 GB, free: 9.07 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.5188, allocations: 321.9 kB / 1.118 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.5188, allocations: 3.297 kB / 1.118 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.5189, allocations: 15.48 kB / 1.118 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.5189, allocations: 25.27 kB / 1.118 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5189, allocations: 0 / 1.118 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.773e-05/0.5189, allocations: 49.84 kB / 1.118 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5189, allocations: 5.375 kB / 1.118 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5189, allocations: 6.078 kB / 1.118 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.519, allocations: 1.25 kB / 1.118 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.519, allocations: 5.109 kB / 1.118 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.519, allocations: 1.438 kB / 1.118 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.519, allocations: 1.406 kB / 1.118 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.519, allocations: 1.859 kB / 1.118 GB, free: 8.668 MB / 0.9948 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 3.841e-05/0.5191, allocations: 112.5 kB / 1.118 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.5191, allocations: 2.594 kB / 1.118 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.5192, allocations: 128 kB / 1.119 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5192, allocations: 190.3 kB / 1.119 GB, free: 8.234 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.5192, allocations: 179 kB / 1.119 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.5192, allocations: 182.1 kB / 1.119 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.898e-05/0.5193, allocations: 378.4 kB / 1.119 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5193, allocations: 103.1 kB / 1.119 GB, free: 7.352 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/0.5193, allocations: 110.9 kB / 1.12 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.5193, allocations: 178.1 kB / 1.12 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5193, allocations: 186 kB / 1.12 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.5193, allocations: 182 kB / 1.12 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/0.5194, allocations: 183.3 kB / 1.12 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.194e-05/0.5194, allocations: 307.1 kB / 1.121 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.5194, allocations: 111.8 kB / 1.121 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.5195, allocations: 179.9 kB / 1.121 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.5195, allocations: 110.4 kB / 1.121 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.5196, allocations: 178.8 kB / 1.121 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.5196, allocations: 101.6 kB / 1.121 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.5196, allocations: 92.55 kB / 1.121 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5196, allocations: 0.9375 kB / 1.121 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002214/0.5198, allocations: 55.14 kB / 1.121 GB, free: 5.406 MB / 0.9948 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.0003274/0.5201, allocations: 0.888 MB / 1.122 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.5202, allocations: 11.25 kB / 1.122 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5202, allocations: 0 / 1.122 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5202, allocations: 5.062 kB / 1.122 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.5204, allocations: 466.8 kB / 1.123 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.521, allocations: 1.345 MB / 1.124 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.5211, allocations: 58.31 kB / 1.124 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.5211, allocations: 6.516 kB / 1.124 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.5211, allocations: 9.625 kB / 1.124 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/0.5211, allocations: 0 / 1.124 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.5384, allocations: 2.917 MB / 1.127 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/6.906, allocations: 6.25 kB / 1.127 GB, free: 1.664 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.963882392272353]