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.001767/0.001767, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.0023/0.0023, allocations: 215.8 kB / 22.25 MB, free: 4.859 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.797 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.954/2.954, allocations: 475.9 MB / 0.7699 GB, free: 4.773 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: 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.002233/0.002233, allocations: 66.95 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4091, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1734/0.5825, allocations: 119.1 MB / 1.399 GB, free: 4.41 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.5929, allocations: 7.232 MB / 1.406 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.593, allocations: 0 / 1.406 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.5932, allocations: 23.84 kB / 1.406 GB, free: 13.13 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.5932, allocations: 27.78 kB / 1.406 GB, free: 13.1 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.5972, allocations: 1.455 MB / 1.408 GB, free: 11.65 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.5973, allocations: 75.66 kB / 1.408 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.5973, allocations: 8 kB / 1.408 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.5975, allocations: 43.83 kB / 1.408 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.5976, allocations: 27.91 kB / 1.408 GB, free: 11.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.5976, allocations: 4 kB / 1.408 GB, free: 11.49 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.6021, allocations: 2.614 MB / 1.411 GB, free: 8.875 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.6022, allocations: 23.84 kB / 1.411 GB, free: 8.852 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.6022, allocations: 27.86 kB / 1.411 GB, free: 8.824 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.6042, allocations: 1.384 MB / 1.412 GB, free: 7.438 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6042, allocations: 4 kB / 1.412 GB, free: 7.434 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6042, allocations: 0 / 1.412 GB, free: 7.434 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.6042, allocations: 4 kB / 1.412 GB, free: 7.43 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.0009884/0.6052, allocations: 437.2 kB / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6052, allocations: 12.03 kB / 1.412 GB, free: 6.961 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.6056, allocations: 16.92 kB / 1.412 GB, free: 6.945 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.6057, allocations: 122.4 kB / 1.413 GB, free: 6.801 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/0.6058, allocations: 55.97 kB / 1.413 GB, free: 6.734 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.6058, allocations: 11.94 kB / 1.413 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.6062, allocations: 139.3 kB / 1.413 GB, free: 6.574 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6062, allocations: 7.984 kB / 1.413 GB, free: 6.566 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.6062, allocations: 4 kB / 1.413 GB, free: 6.562 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6062, allocations: 4 kB / 1.413 GB, free: 6.559 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.6065, allocations: 111.9 kB / 1.413 GB, free: 6.449 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.0004858/0.607, allocations: 276.2 kB / 1.413 GB, free: 6.148 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.6073, allocations: 114.6 kB / 1.413 GB, free: 6.027 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.6074, allocations: 40.84 kB / 1.413 GB, free: 5.984 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.6192, allocations: 3.063 MB / 1.416 GB, free: 2.918 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.6192, allocations: 34.56 kB / 1.416 GB, free: 2.875 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.6193, allocations: 0 / 1.416 GB, free: 2.875 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0005718/0.6198, allocations: 170 kB / 1.416 GB, free: 2.703 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.6199, allocations: 55.41 kB / 1.417 GB, free: 2.637 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.62, allocations: 105.8 kB / 1.417 GB, free: 2.523 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.62, allocations: 25.7 kB / 1.417 GB, free: 2.492 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.6201, allocations: 84.14 kB / 1.417 GB, free: 2.406 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.6201, allocations: 47.58 kB / 1.417 GB, free: 2.359 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.6202, allocations: 29.7 kB / 1.417 GB, free: 2.324 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6203, allocations: 318.8 kB / 1.417 GB, free: 2.004 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.6204, allocations: 27.98 kB / 1.417 GB, free: 1.977 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.6204, allocations: 25.36 kB / 1.417 GB, free: 1.953 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.6205, allocations: 74.72 kB / 1.417 GB, free: 1.879 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6205, allocations: 0 / 1.417 GB, free: 1.879 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002058/0.6207, allocations: 113.6 kB / 1.417 GB, free: 1.762 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6208, allocations: 4 kB / 1.417 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6208, allocations: 0 / 1.417 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6208, allocations: 0 / 1.417 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6209, allocations: 23.98 kB / 1.417 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6209, allocations: 0 / 1.417 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.621, allocations: 0 / 1.417 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.621, allocations: 8 kB / 1.417 GB, free: 1.727 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.977e-05/0.6211, allocations: 125.7 kB / 1.417 GB, free: 1.594 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.6211, allocations: 11.94 kB / 1.417 GB, free: 1.582 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.6216, allocations: 370.9 kB / 1.418 GB, free: 1.215 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6217, allocations: 7.984 kB / 1.418 GB, free: 1.207 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.6217, allocations: 4 kB / 1.418 GB, free: 1.203 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6217, allocations: 0 / 1.418 GB, free: 1.203 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.6219, allocations: 225 kB / 1.418 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6219, allocations: 0 / 1.418 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.622, allocations: 23.92 kB / 1.418 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.622, allocations: 0 / 1.418 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6221, allocations: 8 kB / 1.418 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6221, allocations: 3.938 kB / 1.418 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6221, allocations: 3.938 kB / 1.418 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.6224, allocations: 343 kB / 1.418 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.6225, allocations: 23.83 kB / 1.418 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.6225, allocations: 4 kB / 1.418 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6227, allocations: 7.984 kB / 1.418 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6227, allocations: 7.984 kB / 1.418 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6227, allocations: 7.984 kB / 1.418 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.6227, allocations: 83.28 kB / 1.419 GB, free: 440 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6227, allocations: 4 kB / 1.419 GB, free: 436 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008507/0.6236, allocations: 307.5 kB / 1.419 GB, free: 128 kB / 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.001257/0.6248, allocations: 407.1 kB / 1.419 GB, free: 15.72 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.6251, allocations: 127.8 kB / 1.419 GB, free: 15.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6251, allocations: 0 / 1.419 GB, free: 15.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.6252, allocations: 87.97 kB / 1.419 GB, free: 15.51 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.6255, allocations: 18.02 kB / 1.419 GB, free: 15.49 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.6262, allocations: 312.7 kB / 1.42 GB, free: 15.16 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.6263, allocations: 102.4 kB / 1.42 GB, free: 15.04 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.6265, allocations: 32.33 kB / 1.42 GB, free: 15 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.6265, allocations: 15.44 kB / 1.42 GB, free: 14.99 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/0.6265, allocations: 11.94 kB / 1.42 GB, free: 14.98 MB / 1.123 GB Notification: Performance of Templates: time 0.01681/0.6433, allocations: 9.942 MB / 1.43 GB, free: 5.059 MB / 1.123 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 -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/jenkins/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: 10.136589566245675]