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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 1.107 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8008, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1534/0.9542, allocations: 135.8 MB / 1.404 GB, free: 4.238 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.9544, allocations: 66.56 kB / 1.404 GB, free: 4.188 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.9544, allocations: 0 / 1.404 GB, free: 4.188 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.9545, allocations: 5.484 kB / 1.404 GB, free: 4.188 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.9546, allocations: 14.66 kB / 1.404 GB, free: 4.176 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.9555, allocations: 238.5 kB / 1.404 GB, free: 4.012 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.9556, allocations: 37.44 kB / 1.404 GB, free: 3.992 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.9556, allocations: 5.266 kB / 1.404 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.9556, allocations: 9.5 kB / 1.404 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.9557, allocations: 21.47 kB / 1.404 GB, free: 3.973 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.9557, allocations: 1.406 kB / 1.404 GB, free: 3.973 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.9563, allocations: 246.9 kB / 1.405 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.9563, allocations: 6.391 kB / 1.405 GB, free: 3.824 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.9563, allocations: 13.09 kB / 1.405 GB, free: 3.816 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.9567, allocations: 195.2 kB / 1.405 GB, free: 3.719 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9567, allocations: 3.938 kB / 1.405 GB, free: 3.715 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9567, allocations: 0 / 1.405 GB, free: 3.715 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.9567, allocations: 0 / 1.405 GB, free: 3.715 MB / 1.092 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.0004505/0.9572, allocations: 355.7 kB / 1.405 GB, free: 3.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.9572, allocations: 9.531 kB / 1.405 GB, free: 3.34 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.9573, allocations: 35.92 kB / 1.405 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.9573, allocations: 2.469 kB / 1.405 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.9574, allocations: 165.7 kB / 1.405 GB, free: 3.098 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.9575, allocations: 35.33 kB / 1.405 GB, free: 3.059 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.9575, allocations: 1.156 kB / 1.405 GB, free: 3.059 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.9576, allocations: 51.06 kB / 1.405 GB, free: 3.012 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.9576, allocations: 0 / 1.405 GB, free: 3.012 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.9577, allocations: 7.969 kB / 1.405 GB, free: 3.004 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.9577, allocations: 1.156 kB / 1.405 GB, free: 3.004 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.9577, allocations: 17.23 kB / 1.405 GB, free: 2.996 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.9585, allocations: 0.6002 MB / 1.406 GB, free: 2.312 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.9585, allocations: 15.92 kB / 1.406 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.9586, allocations: 10.23 kB / 1.406 GB, free: 2.277 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.9588, allocations: 333.8 kB / 1.406 GB, free: 1.891 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.9588, allocations: 39.73 kB / 1.406 GB, free: 1.844 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9588, allocations: 1.531 kB / 1.406 GB, free: 1.844 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.959, allocations: 34.95 kB / 1.406 GB, free: 1.809 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.959, allocations: 51.41 kB / 1.407 GB, free: 1.746 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.9591, allocations: 104.5 kB / 1.407 GB, free: 1.641 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.9591, allocations: 25.7 kB / 1.407 GB, free: 1.609 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.9592, allocations: 85.59 kB / 1.407 GB, free: 1.523 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.9592, allocations: 5.141 kB / 1.407 GB, free: 1.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.9592, allocations: 16.88 kB / 1.407 GB, free: 1.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9593, allocations: 324.6 kB / 1.407 GB, free: 1.176 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.9593, allocations: 6.469 kB / 1.407 GB, free: 1.172 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.9594, allocations: 21.62 kB / 1.407 GB, free: 1.148 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.9594, allocations: 15.31 kB / 1.407 GB, free: 1.133 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9594, allocations: 5.328 kB / 1.407 GB, free: 1.129 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.764e-05/0.9595, allocations: 46.58 kB / 1.407 GB, free: 1.09 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.9595, allocations: 9.312 kB / 1.407 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.9595, allocations: 0 / 1.407 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9595, allocations: 5.406 kB / 1.407 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.9596, allocations: 8.984 kB / 1.407 GB, free: 1.078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.9596, allocations: 0 / 1.407 GB, free: 1.078 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.9596, allocations: 5.125 kB / 1.407 GB, free: 1.074 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.9596, allocations: 2.531 kB / 1.407 GB, free: 1.074 MB / 1.092 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.494e-05/0.9597, allocations: 111.2 kB / 1.407 GB, free: 0.957 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.9597, allocations: 5.25 kB / 1.407 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.9598, allocations: 128.6 kB / 1.407 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.512e-05/0.9599, allocations: 177.7 kB / 1.408 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.79e-05/0.96, allocations: 184.2 kB / 1.408 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.958e-05/0.96, allocations: 181.5 kB / 1.408 GB, free: 280 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.9603, allocations: 407.8 kB / 1.408 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.9603, allocations: 106.5 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.9604, allocations: 106.2 kB / 1.409 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-05/0.9605, allocations: 181.4 kB / 1.409 GB, free: 15.42 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.9605, allocations: 176.3 kB / 1.409 GB, free: 15.24 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.58e-05/0.9606, allocations: 181.5 kB / 1.409 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/0.9607, allocations: 181.8 kB / 1.409 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.9609, allocations: 315.7 kB / 1.409 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.9609, allocations: 179.5 kB / 1.41 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.961, allocations: 185.2 kB / 1.41 GB, free: 14.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.9612, allocations: 124.6 kB / 1.41 GB, free: 14.03 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.9613, allocations: 177.5 kB / 1.41 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.9613, allocations: 108.9 kB / 1.41 GB, free: 13.74 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.9614, allocations: 85.27 kB / 1.41 GB, free: 13.66 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9614, allocations: 0 / 1.41 GB, free: 13.66 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003044/0.9617, allocations: 52.19 kB / 1.41 GB, free: 13.64 MB / 1.107 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.0006654/0.9623, allocations: 0.8878 MB / 1.411 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.01e-05/0.9624, allocations: 18 kB / 1.411 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.9624, allocations: 1.156 kB / 1.411 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.9624, allocations: 0 / 1.411 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.9628, allocations: 461.6 kB / 1.412 GB, free: 12.33 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.9639, allocations: 1.351 MB / 1.413 GB, free: 10.96 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.9642, allocations: 0.679 MB / 1.414 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.9643, allocations: 9.25 kB / 1.414 GB, free: 10.25 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.9643, allocations: 8.531 kB / 1.414 GB, free: 10.24 MB / 1.107 GB Notification: Performance of SimCode: time 3.91e-07/0.9643, allocations: 0 / 1.414 GB, free: 10.24 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.9877, allocations: 2.197 MB / 1.416 GB, free: 9.027 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/8.111, allocations: 16.81 kB / 1.416 GB, free: 9.02 MB / 1.107 GB " [Timeout remaining time 292] (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: 13.45906543199817]