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.001988/0.001988, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002141/0.002141, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.744/2.744, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [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.002367/0.002367, allocations: 67.89 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3531, allocations: 169.9 MB / 1.117 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.7772/1.13, allocations: 119.1 MB / 1.234 GB, free: 15.46 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01109/1.141, allocations: 7.236 MB / 1.241 GB, free: 10.83 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/1.141, allocations: 3.938 kB / 1.241 GB, free: 10.83 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002097/1.142, allocations: 20.03 kB / 1.241 GB, free: 10.82 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 6.852e-05/1.142, allocations: 21.84 kB / 1.241 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005018/1.147, allocations: 1.454 MB / 1.242 GB, free: 10.3 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/1.147, allocations: 76.38 kB / 1.242 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/1.147, allocations: 16.48 kB / 1.242 GB, free: 10.25 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/1.147, allocations: 44.02 kB / 1.242 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/1.147, allocations: 31.64 kB / 1.242 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/1.147, allocations: 2.312 kB / 1.242 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006024/1.153, allocations: 2.612 MB / 1.245 GB, free: 9.637 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/1.153, allocations: 15.05 kB / 1.245 GB, free: 9.629 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/1.153, allocations: 30.89 kB / 1.245 GB, free: 9.613 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/1.156, allocations: 1.381 MB / 1.246 GB, free: 9.273 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/1.156, allocations: 1.641 kB / 1.246 GB, free: 9.273 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.513e-06/1.156, allocations: 0 / 1.246 GB, free: 9.273 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.156, allocations: 4 kB / 1.246 GB, free: 9.27 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.001323/1.158, allocations: 434.2 kB / 1.247 GB, free: 8.93 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.158, allocations: 9.531 kB / 1.247 GB, free: 8.93 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/1.158, allocations: 24.8 kB / 1.247 GB, free: 8.926 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.158, allocations: 113.5 kB / 1.247 GB, free: 8.793 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/1.158, allocations: 58.55 kB / 1.247 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/1.158, allocations: 11.41 kB / 1.247 GB, free: 8.723 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/1.159, allocations: 147.7 kB / 1.247 GB, free: 8.637 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.159, allocations: 4 kB / 1.247 GB, free: 8.633 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.159, allocations: 5 kB / 1.247 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.159, allocations: 2.188 kB / 1.247 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/1.159, allocations: 116.2 kB / 1.247 GB, free: 8.605 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.0004751/1.16, allocations: 271.7 kB / 1.248 GB, free: 8.363 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/1.16, allocations: 119 kB / 1.248 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/1.16, allocations: 43.95 kB / 1.248 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01256/1.173, allocations: 3.048 MB / 1.251 GB, free: 7.953 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/1.173, allocations: 37.22 kB / 1.251 GB, free: 7.91 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/1.173, allocations: 1.094 kB / 1.251 GB, free: 7.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0008301/1.173, allocations: 168.5 kB / 1.251 GB, free: 7.836 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.173, allocations: 53.17 kB / 1.251 GB, free: 7.773 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/1.174, allocations: 104.7 kB / 1.251 GB, free: 7.668 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.174, allocations: 30.89 kB / 1.251 GB, free: 7.633 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/1.174, allocations: 82.47 kB / 1.251 GB, free: 7.551 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/1.174, allocations: 47.94 kB / 1.251 GB, free: 7.512 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/1.174, allocations: 29.59 kB / 1.251 GB, free: 7.488 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.174, allocations: 318.3 kB / 1.251 GB, free: 7.172 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/1.174, allocations: 25.89 kB / 1.252 GB, free: 7.164 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/1.174, allocations: 29.45 kB / 1.252 GB, free: 7.152 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/1.174, allocations: 68.5 kB / 1.252 GB, free: 7.117 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.174, allocations: 2.078 kB / 1.252 GB, free: 7.117 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003071/1.175, allocations: 109.4 kB / 1.252 GB, free: 7.059 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.175, allocations: 6.375 kB / 1.252 GB, free: 7.059 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.175, allocations: 0 / 1.252 GB, free: 7.059 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.175, allocations: 3.531 kB / 1.252 GB, free: 7.059 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/1.175, allocations: 29.66 kB / 1.252 GB, free: 7.051 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.175, allocations: 3.156 kB / 1.252 GB, free: 7.051 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/1.175, allocations: 1.797 kB / 1.252 GB, free: 7.051 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/1.175, allocations: 8 kB / 1.252 GB, free: 7.047 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 9.926e-05/1.175, allocations: 117.8 kB / 1.252 GB, free: 6.926 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.175, allocations: 11.36 kB / 1.252 GB, free: 6.918 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/1.176, allocations: 383.3 kB / 1.252 GB, free: 6.723 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.176, allocations: 4.734 kB / 1.252 GB, free: 6.723 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.176, allocations: 0.5156 kB / 1.252 GB, free: 6.723 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.176, allocations: 2 kB / 1.252 GB, free: 6.723 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/1.176, allocations: 217.6 kB / 1.252 GB, free: 6.539 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/1.176, allocations: 0 / 1.252 GB, free: 6.539 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.176, allocations: 25.05 kB / 1.252 GB, free: 6.535 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.176, allocations: 9.062 kB / 1.253 GB, free: 6.527 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.176, allocations: 1.812 kB / 1.253 GB, free: 6.527 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/1.176, allocations: 1.562 kB / 1.253 GB, free: 6.527 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.176, allocations: 1.156 kB / 1.253 GB, free: 6.527 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/1.176, allocations: 341.4 kB / 1.253 GB, free: 6.305 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/1.177, allocations: 29.94 kB / 1.253 GB, free: 6.289 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.177, allocations: 5.75 kB / 1.253 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.177, allocations: 6.812 kB / 1.253 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/1.177, allocations: 12.03 kB / 1.253 GB, free: 6.281 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.177, allocations: 6.484 kB / 1.253 GB, free: 6.281 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.513e-05/1.177, allocations: 83.97 kB / 1.253 GB, free: 6.203 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.177, allocations: 3.938 kB / 1.253 GB, free: 6.199 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001601/1.178, allocations: 305.8 kB / 1.253 GB, free: 6.168 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.001466/1.18, allocations: 396.1 kB / 1.254 GB, free: 6.016 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002705/1.18, allocations: 126.6 kB / 1.254 GB, free: 5.973 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.18, allocations: 0.8125 kB / 1.254 GB, free: 5.973 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/1.18, allocations: 90.34 kB / 1.254 GB, free: 5.941 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/1.181, allocations: 26.33 kB / 1.254 GB, free: 5.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/1.181, allocations: 315.5 kB / 1.254 GB, free: 5.727 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/1.181, allocations: 100.1 kB / 1.254 GB, free: 5.656 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001109/1.181, allocations: 38.62 kB / 1.254 GB, free: 5.641 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/1.181, allocations: 20.78 kB / 1.254 GB, free: 5.629 MB / 1.107 GB Notification: Performance of SimCode: time 5.21e-07/1.181, allocations: 0 / 1.254 GB, free: 5.629 MB / 1.107 GB Notification: Performance of Templates: time 0.01974/1.201, allocations: 9.848 MB / 1.264 GB, free: 4.98 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] 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: 9.397357125068083]