Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.001335/0.001335, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001551/0.001551, allocations: 221.4 kB / 23.03 MB, free: 4.945 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.818/2.818, allocations: 476.8 MB / 0.7715 GB, free: 3.883 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.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",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.002016/0.002016, allocations: 63.03 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.38, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1723/0.5523, allocations: 119.1 MB / 1.4 GB, free: 3.172 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00972/0.562, allocations: 7.224 MB / 1.407 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.5621, allocations: 0 / 1.407 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.5623, allocations: 27.84 kB / 1.407 GB, free: 11.9 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.5623, allocations: 23.84 kB / 1.407 GB, free: 11.88 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.5661, allocations: 1.446 MB / 1.409 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.5663, allocations: 75.59 kB / 1.409 GB, free: 10.36 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.5664, allocations: 4 kB / 1.409 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.5665, allocations: 51.83 kB / 1.409 GB, free: 10.3 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.5666, allocations: 35.83 kB / 1.409 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.5666, allocations: 4 kB / 1.409 GB, free: 10.26 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.5713, allocations: 2.688 MB / 1.412 GB, free: 7.57 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.5713, allocations: 15.97 kB / 1.412 GB, free: 7.555 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.5714, allocations: 31.86 kB / 1.412 GB, free: 7.523 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.5737, allocations: 1.384 MB / 1.413 GB, free: 6.137 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5737, allocations: 4 kB / 1.413 GB, free: 6.133 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5737, allocations: 0 / 1.413 GB, free: 6.133 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5737, allocations: 3.938 kB / 1.413 GB, free: 6.129 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009576/0.5746, allocations: 433.2 kB / 1.413 GB, free: 5.676 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5747, allocations: 8.031 kB / 1.413 GB, free: 5.668 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.599e-05/0.5747, allocations: 4.188 kB / 1.413 GB, free: 5.664 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.5747, allocations: 38.75 kB / 1.414 GB, free: 5.617 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.5751, allocations: 24.91 kB / 1.414 GB, free: 5.594 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.5752, allocations: 118.4 kB / 1.414 GB, free: 5.453 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.5753, allocations: 63.47 kB / 1.414 GB, free: 5.379 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.5754, allocations: 8 kB / 1.414 GB, free: 5.371 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.5758, allocations: 143.3 kB / 1.414 GB, free: 5.219 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5758, allocations: 0 / 1.414 GB, free: 5.219 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.5758, allocations: 7.938 kB / 1.414 GB, free: 5.211 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5758, allocations: 4 kB / 1.414 GB, free: 5.207 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.5761, allocations: 118.1 kB / 1.414 GB, free: 5.094 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.5766, allocations: 295.8 kB / 1.414 GB, free: 4.762 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.5769, allocations: 122.5 kB / 1.414 GB, free: 4.633 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.577, allocations: 40.84 kB / 1.414 GB, free: 4.59 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.5888, allocations: 3.059 MB / 1.417 GB, free: 1.527 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.5889, allocations: 38.56 kB / 1.417 GB, free: 1.48 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.5889, allocations: 4 kB / 1.417 GB, free: 1.477 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0005998/0.5895, allocations: 164.1 kB / 1.418 GB, free: 1.312 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5895, allocations: 59.41 kB / 1.418 GB, free: 1.242 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.5896, allocations: 101.8 kB / 1.418 GB, free: 1.133 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5897, allocations: 33.7 kB / 1.418 GB, free: 1.094 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.5897, allocations: 80.14 kB / 1.418 GB, free: 1.012 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.5898, allocations: 47.58 kB / 1.418 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.5898, allocations: 29.7 kB / 1.418 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.59, allocations: 314.8 kB / 1.418 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.5901, allocations: 27.98 kB / 1.418 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.5901, allocations: 23.98 kB / 1.418 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.5902, allocations: 72.34 kB / 1.418 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5902, allocations: 0 / 1.418 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002015/0.5904, allocations: 113.6 kB / 1.418 GB, free: 384 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5905, allocations: 4 kB / 1.418 GB, free: 380 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5905, allocations: 4 kB / 1.418 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5905, allocations: 4 kB / 1.418 GB, free: 372 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.5906, allocations: 19.98 kB / 1.418 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5906, allocations: 3.938 kB / 1.418 GB, free: 348 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.5907, allocations: 11.94 kB / 1.418 GB, free: 336 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.5907, allocations: 0 / 1.418 GB, free: 336 kB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001158/0.5908, allocations: 121.8 kB / 1.419 GB, free: 204 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.5909, allocations: 7.953 kB / 1.419 GB, free: 196 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.5914, allocations: 376.3 kB / 1.419 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.5915, allocations: 15.98 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5915, allocations: 3.938 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5915, allocations: 0 / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.5918, allocations: 252.5 kB / 1.419 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5918, allocations: 0 / 1.419 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5919, allocations: 27.92 kB / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5919, allocations: 0 / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.5919, allocations: 4 kB / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5919, allocations: 0 / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.5919, allocations: 7.922 kB / 1.419 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.5923, allocations: 339 kB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.5924, allocations: 27.83 kB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.5924, allocations: 4 kB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.5925, allocations: 7.984 kB / 1.42 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.5926, allocations: 15.92 kB / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.5926, allocations: 3.984 kB / 1.42 GB, free: 15.06 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.5926, allocations: 79.28 kB / 1.42 GB, free: 14.98 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5926, allocations: 0 / 1.42 GB, free: 14.98 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009886/0.5936, allocations: 307.6 kB / 1.42 GB, free: 14.68 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: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002003/0.5956, allocations: 1.173 MB / 1.421 GB, free: 13.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.5959, allocations: 131.8 kB / 1.421 GB, free: 13.36 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5959, allocations: 4 kB / 1.421 GB, free: 13.35 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.596, allocations: 87.91 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.5963, allocations: 24.47 kB / 1.421 GB, free: 13.25 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.5973, allocations: 426.1 kB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.5974, allocations: 110.3 kB / 1.422 GB, free: 12.66 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.5975, allocations: 28.33 kB / 1.422 GB, free: 12.63 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.5976, allocations: 43.41 kB / 1.422 GB, free: 12.59 MB / 1.123 GB Notification: Performance of SimCode: time 4.71e-07/0.5976, allocations: 3.938 kB / 1.422 GB, free: 12.58 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.6369, allocations: 12 MB / 1.434 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.52, allocations: 10.62 kB / 1.434 GB, free: 0.7383 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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: 19.66269095102325]