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.001579/0.001579, allocations: 114.3 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.001407/0.001407, allocations: 215.8 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.068/3.068, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001948/0.001948, allocations: 61.69 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3524, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1802/0.5326, allocations: 138.7 MB / 1.488 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.5328, allocations: 55.67 kB / 1.488 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.5328, allocations: 0 / 1.488 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.533, allocations: 7.984 kB / 1.488 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 9.764e-05/0.5331, allocations: 19.92 kB / 1.488 GB, free: 13.18 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.5341, allocations: 243 kB / 1.489 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.5343, allocations: 31.84 kB / 1.489 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.5343, allocations: 12 kB / 1.489 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.5344, allocations: 15.98 kB / 1.489 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.5344, allocations: 15.92 kB / 1.489 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.5345, allocations: 0 / 1.489 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.535, allocations: 255.4 kB / 1.489 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.535, allocations: 7.984 kB / 1.489 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.5351, allocations: 11.92 kB / 1.489 GB, free: 12.6 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.5355, allocations: 191.8 kB / 1.489 GB, free: 12.41 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5355, allocations: 0 / 1.489 GB, free: 12.41 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5355, allocations: 0 / 1.489 GB, free: 12.41 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5355, allocations: 0 / 1.489 GB, free: 12.41 MB / 1.186 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.0005092/0.536, allocations: 292 kB / 1.489 GB, free: 12.1 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.536, allocations: 8.031 kB / 1.489 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.5361, allocations: 42.67 kB / 1.489 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.5361, allocations: 4.938 kB / 1.489 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5362, allocations: 102.5 kB / 1.49 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.5363, allocations: 59.72 kB / 1.49 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.5363, allocations: 3.984 kB / 1.49 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5365, allocations: 45.62 kB / 1.49 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5365, allocations: 4 kB / 1.49 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5365, allocations: 4 kB / 1.49 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.5365, allocations: 0 / 1.49 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.5366, allocations: 11.98 kB / 1.49 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.5373, allocations: 279.9 kB / 1.49 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.5373, allocations: 18.58 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.5373, allocations: 12.86 kB / 1.49 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.5374, allocations: 27.98 kB / 1.49 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.5374, allocations: 34.55 kB / 1.49 GB, free: 11.34 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.5374, allocations: 0 / 1.49 GB, free: 11.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.5376, allocations: 33.7 kB / 1.49 GB, free: 11.3 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5376, allocations: 51.41 kB / 1.49 GB, free: 11.24 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.5377, allocations: 106 kB / 1.49 GB, free: 11.12 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5377, allocations: 25.7 kB / 1.49 GB, free: 11.09 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.5378, allocations: 88.09 kB / 1.49 GB, free: 11 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.5378, allocations: 7.938 kB / 1.49 GB, free: 11 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.5378, allocations: 13.72 kB / 1.49 GB, free: 10.98 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.538, allocations: 318.8 kB / 1.491 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.538, allocations: 7.938 kB / 1.491 GB, free: 10.65 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.538, allocations: 17.72 kB / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.5381, allocations: 25.7 kB / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5381, allocations: 0 / 1.491 GB, free: 10.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.55e-05/0.5382, allocations: 49.59 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5382, allocations: 4 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5382, allocations: 0 / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5382, allocations: 3.984 kB / 1.491 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.5383, allocations: 8 kB / 1.491 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.5383, allocations: 11.98 kB / 1.491 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.5383, allocations: 7.938 kB / 1.491 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5383, allocations: 4 kB / 1.491 GB, free: 10.5 MB / 1.186 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 7.795e-05/0.5384, allocations: 109.8 kB / 1.491 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.5384, allocations: 0 / 1.491 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.5385, allocations: 121.2 kB / 1.491 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-05/0.5386, allocations: 184.3 kB / 1.491 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.321e-05/0.5387, allocations: 192.1 kB / 1.491 GB, free: 9.867 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-05/0.5388, allocations: 180.2 kB / 1.491 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.539, allocations: 376.3 kB / 1.492 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.184e-05/0.5391, allocations: 104.9 kB / 1.492 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.5391, allocations: 109 kB / 1.492 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.575e-05/0.5392, allocations: 188.2 kB / 1.492 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.5393, allocations: 180.3 kB / 1.492 GB, free: 8.668 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.726e-05/0.5394, allocations: 180.2 kB / 1.493 GB, free: 8.484 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.487e-05/0.5394, allocations: 180.5 kB / 1.493 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5396, allocations: 315.7 kB / 1.493 GB, free: 7.961 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.5397, allocations: 108.9 kB / 1.493 GB, free: 7.848 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.5398, allocations: 184.2 kB / 1.493 GB, free: 7.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.5399, allocations: 109 kB / 1.493 GB, free: 7.547 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.54, allocations: 176.3 kB / 1.494 GB, free: 7.367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.5401, allocations: 108.9 kB / 1.494 GB, free: 7.254 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.5401, allocations: 95.27 kB / 1.494 GB, free: 7.16 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5401, allocations: 0 / 1.494 GB, free: 7.16 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003305/0.5404, allocations: 51.75 kB / 1.494 GB, free: 7.109 MB / 1.186 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.0006729/0.5411, allocations: 0.8827 MB / 1.495 GB, free: 6.195 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.5412, allocations: 11.94 kB / 1.495 GB, free: 6.184 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.5412, allocations: 0 / 1.495 GB, free: 6.184 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.5412, allocations: 0 / 1.495 GB, free: 6.184 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.5417, allocations: 471.7 kB / 1.495 GB, free: 5.719 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.5428, allocations: 1.34 MB / 1.496 GB, free: 4.289 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.5431, allocations: 0.6767 MB / 1.497 GB, free: 3.586 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.5432, allocations: 11.94 kB / 1.497 GB, free: 3.574 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.5432, allocations: 11.44 kB / 1.497 GB, free: 3.566 MB / 1.186 GB Notification: Performance of SimCode: time 2.9e-07/0.5432, allocations: 0 / 1.497 GB, free: 3.566 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.5729, allocations: 2.31 MB / 1.499 GB, free: 1.395 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.18, allocations: 9.172 kB / 1.499 GB, free: 1.387 MB / 1.186 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.61677978700027]