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.001927/0.001927, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002132/0.002132, allocations: 211.6 kB / 22.24 MB, free: 5.242 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.805 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.829/2.829, allocations: 476 MB / 0.7699 GB, free: 4.77 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",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.002157/0.002157, allocations: 66.27 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3579, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.167/0.5249, allocations: 119.1 MB / 1.399 GB, free: 4.918 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5356, allocations: 7.224 MB / 1.406 GB, free: 13.67 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.5357, allocations: 0 / 1.406 GB, free: 13.67 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.5359, allocations: 23.84 kB / 1.406 GB, free: 13.65 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.536, allocations: 23.78 kB / 1.406 GB, free: 13.62 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.5408, allocations: 1.453 MB / 1.407 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.541, allocations: 79.62 kB / 1.407 GB, free: 12.1 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.541, allocations: 4 kB / 1.407 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.5412, allocations: 51.83 kB / 1.408 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.5412, allocations: 27.92 kB / 1.408 GB, free: 12.02 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.5413, allocations: 4 kB / 1.408 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.5462, allocations: 2.622 MB / 1.41 GB, free: 9.387 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.5462, allocations: 15.92 kB / 1.41 GB, free: 9.371 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.5462, allocations: 31.86 kB / 1.41 GB, free: 9.34 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.5483, allocations: 1.38 MB / 1.412 GB, free: 7.957 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5483, allocations: 0 / 1.412 GB, free: 7.957 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5483, allocations: 0 / 1.412 GB, free: 7.957 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5483, allocations: 0 / 1.412 GB, free: 7.957 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.000973/0.5492, allocations: 445.2 kB / 1.412 GB, free: 7.492 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5493, allocations: 8.031 kB / 1.412 GB, free: 7.484 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.5493, allocations: 42.75 kB / 1.412 GB, free: 7.434 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.5497, allocations: 24.84 kB / 1.412 GB, free: 7.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.5498, allocations: 118.4 kB / 1.412 GB, free: 7.27 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.894e-05/0.5499, allocations: 59.72 kB / 1.412 GB, free: 7.199 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.5499, allocations: 8 kB / 1.412 GB, free: 7.191 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.5503, allocations: 143.3 kB / 1.412 GB, free: 7.039 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5503, allocations: 0 / 1.412 GB, free: 7.039 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5503, allocations: 4 kB / 1.412 GB, free: 7.035 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5503, allocations: 8 kB / 1.412 GB, free: 7.027 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.5506, allocations: 111.9 kB / 1.412 GB, free: 6.918 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.0005085/0.5511, allocations: 299.7 kB / 1.413 GB, free: 6.582 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.5514, allocations: 114.6 kB / 1.413 GB, free: 6.461 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.5515, allocations: 44.84 kB / 1.413 GB, free: 6.414 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.5633, allocations: 3.067 MB / 1.416 GB, free: 3.344 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.5633, allocations: 30.56 kB / 1.416 GB, free: 3.305 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.5633, allocations: 0 / 1.416 GB, free: 3.305 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0006205/0.564, allocations: 173.5 kB / 1.416 GB, free: 3.129 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.564, allocations: 51.41 kB / 1.416 GB, free: 3.066 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5641, allocations: 105.8 kB / 1.416 GB, free: 2.953 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.5641, allocations: 29.7 kB / 1.416 GB, free: 2.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.5642, allocations: 80.14 kB / 1.416 GB, free: 2.836 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.5642, allocations: 43.64 kB / 1.416 GB, free: 2.793 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.5643, allocations: 29.7 kB / 1.416 GB, free: 2.758 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5645, allocations: 314.8 kB / 1.417 GB, free: 2.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.5645, allocations: 23.98 kB / 1.417 GB, free: 2.418 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.5646, allocations: 31.23 kB / 1.417 GB, free: 2.391 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5647, allocations: 68.78 kB / 1.417 GB, free: 2.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5647, allocations: 4 kB / 1.417 GB, free: 2.316 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002055/0.5649, allocations: 113.6 kB / 1.417 GB, free: 2.199 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5649, allocations: 4 kB / 1.417 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5649, allocations: 0 / 1.417 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5649, allocations: 0 / 1.417 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5651, allocations: 23.98 kB / 1.417 GB, free: 2.172 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5651, allocations: 0 / 1.417 GB, free: 2.172 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.5651, allocations: 11.88 kB / 1.417 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.5652, allocations: 4 kB / 1.417 GB, free: 2.156 MB / 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.0001058/0.5653, allocations: 117.8 kB / 1.417 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.5653, allocations: 11.95 kB / 1.417 GB, free: 2.02 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.5659, allocations: 372.4 kB / 1.417 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5659, allocations: 11.92 kB / 1.417 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5659, allocations: 0 / 1.417 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5659, allocations: 4.125 kB / 1.417 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.5662, allocations: 252.5 kB / 1.418 GB, free: 1.344 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5662, allocations: 0 / 1.418 GB, free: 1.344 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5664, allocations: 39.91 kB / 1.418 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5664, allocations: 0 / 1.418 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5664, allocations: 3.938 kB / 1.418 GB, free: 1.301 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5664, allocations: 4 kB / 1.418 GB, free: 1.297 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5664, allocations: 0 / 1.418 GB, free: 1.297 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.5668, allocations: 343 kB / 1.418 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.5669, allocations: 23.83 kB / 1.418 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.5669, allocations: 4 kB / 1.418 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.567, allocations: 7.984 kB / 1.418 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.5671, allocations: 19.86 kB / 1.418 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.5671, allocations: 4 kB / 1.418 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.5671, allocations: 83.27 kB / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.5671, allocations: 0 / 1.418 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001187/0.5683, allocations: 307.6 kB / 1.419 GB, free: 0.5039 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: 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.002096/0.5704, allocations: 1.161 MB / 1.42 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.5707, allocations: 119.9 kB / 1.42 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5707, allocations: 0 / 1.42 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.5709, allocations: 95.89 kB / 1.42 GB, free: 15.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.5712, allocations: 15.88 kB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.5723, allocations: 430.1 kB / 1.42 GB, free: 14.62 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.5724, allocations: 110.3 kB / 1.42 GB, free: 14.5 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.5725, allocations: 32.31 kB / 1.42 GB, free: 14.46 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.5726, allocations: 39.42 kB / 1.42 GB, free: 14.43 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/0.5726, allocations: 3.938 kB / 1.42 GB, free: 14.42 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/0.6211, allocations: 12.26 MB / 1.432 GB, free: 2.32 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.33, allocations: 0 / 1.432 GB, free: 2.32 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.297226417809725]