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.00167/0.00167, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001859/0.001859, allocations: 214.7 kB / 23.01 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.74/2.74, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 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.001957/0.001957, allocations: 67.94 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.293, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1704/0.4633, allocations: 138.8 MB / 1.42 GB, free: 15.88 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.4746, allocations: 8.041 MB / 1.428 GB, free: 7.816 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.4747, allocations: 0 / 1.428 GB, free: 7.816 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.4749, allocations: 35.77 kB / 1.428 GB, free: 7.781 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.4749, allocations: 23.84 kB / 1.428 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.4791, allocations: 1.468 MB / 1.43 GB, free: 6.293 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.4792, allocations: 79.62 kB / 1.43 GB, free: 6.215 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.4793, allocations: 11.88 kB / 1.43 GB, free: 6.203 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.4794, allocations: 47.83 kB / 1.43 GB, free: 6.156 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.4795, allocations: 23.92 kB / 1.43 GB, free: 6.133 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.4795, allocations: 4 kB / 1.43 GB, free: 6.129 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004891/0.4844, allocations: 2.723 MB / 1.432 GB, free: 3.402 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.4844, allocations: 15.92 kB / 1.432 GB, free: 3.387 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.4845, allocations: 31.86 kB / 1.432 GB, free: 3.355 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.4866, allocations: 1.396 MB / 1.434 GB, free: 1.957 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4866, allocations: 0 / 1.434 GB, free: 1.957 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4866, allocations: 0 / 1.434 GB, free: 1.957 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4866, allocations: 3.938 kB / 1.434 GB, free: 1.953 MB / 1.123 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.0009962/0.4876, allocations: 433.2 kB / 1.434 GB, free: 1.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4876, allocations: 12.03 kB / 1.434 GB, free: 1.488 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.488, allocations: 20.88 kB / 1.434 GB, free: 1.469 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4881, allocations: 118.5 kB / 1.434 GB, free: 1.328 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.4883, allocations: 59.97 kB / 1.434 GB, free: 1.258 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4883, allocations: 15.88 kB / 1.434 GB, free: 1.242 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.4886, allocations: 117.5 kB / 1.434 GB, free: 1.121 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4887, allocations: 3.984 kB / 1.434 GB, free: 1.117 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4887, allocations: 3.984 kB / 1.434 GB, free: 1.113 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4887, allocations: 4 kB / 1.434 GB, free: 1.109 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.489, allocations: 119.9 kB / 1.435 GB, free: 0.9922 MB / 1.123 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.0005319/0.4895, allocations: 351.2 kB / 1.435 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.4898, allocations: 122.5 kB / 1.435 GB, free: 476 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.4899, allocations: 40.84 kB / 1.435 GB, free: 432 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.5018, allocations: 3.047 MB / 1.438 GB, free: 13.37 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.5019, allocations: 42.56 kB / 1.438 GB, free: 13.32 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.5019, allocations: 0 / 1.438 GB, free: 13.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0005682/0.5025, allocations: 157.6 kB / 1.438 GB, free: 13.16 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.5025, allocations: 59.41 kB / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.5026, allocations: 97.84 kB / 1.438 GB, free: 12.98 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.5026, allocations: 29.7 kB / 1.438 GB, free: 12.95 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.5027, allocations: 84.14 kB / 1.439 GB, free: 12.86 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.5027, allocations: 47.52 kB / 1.439 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.5028, allocations: 29.7 kB / 1.439 GB, free: 12.78 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.503, allocations: 322.8 kB / 1.439 GB, free: 12.46 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.5031, allocations: 27.98 kB / 1.439 GB, free: 12.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.5031, allocations: 23.98 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.5033, allocations: 75.91 kB / 1.439 GB, free: 12.33 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5033, allocations: 0 / 1.439 GB, free: 12.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002336/0.5035, allocations: 109.6 kB / 1.439 GB, free: 12.22 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5035, allocations: 6.344 kB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5035, allocations: 0 / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5035, allocations: 3.938 kB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5037, allocations: 31.92 kB / 1.439 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5037, allocations: 0 / 1.439 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.5037, allocations: 11.89 kB / 1.439 GB, free: 12.17 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.5037, allocations: 8 kB / 1.439 GB, free: 12.16 MB / 1.139 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.428e-05/0.5038, allocations: 113.8 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.5039, allocations: 4 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.5044, allocations: 380.3 kB / 1.44 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.5045, allocations: 7.984 kB / 1.44 GB, free: 11.65 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5045, allocations: 4 kB / 1.44 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5045, allocations: 3.938 kB / 1.44 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.5048, allocations: 256.5 kB / 1.44 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5048, allocations: 0 / 1.44 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5049, allocations: 19.98 kB / 1.44 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5049, allocations: 0 / 1.44 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.505, allocations: 8 kB / 1.44 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.505, allocations: 0 / 1.44 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.505, allocations: 0 / 1.44 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.5054, allocations: 346.9 kB / 1.44 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.5054, allocations: 23.83 kB / 1.44 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.5054, allocations: 4 kB / 1.44 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.5056, allocations: 7.984 kB / 1.44 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.5056, allocations: 7.984 kB / 1.44 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.5056, allocations: 15.92 kB / 1.44 GB, free: 10.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.5057, allocations: 83.45 kB / 1.44 GB, free: 10.82 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5057, allocations: 0 / 1.44 GB, free: 10.82 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001019/0.5067, allocations: 307.6 kB / 1.441 GB, free: 10.52 MB / 1.139 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.001346/0.5081, allocations: 406.7 kB / 1.441 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.5083, allocations: 119.9 kB / 1.441 GB, free: 10 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5083, allocations: 0 / 1.441 GB, free: 10 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.5085, allocations: 94.44 kB / 1.441 GB, free: 9.91 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.5088, allocations: 19.92 kB / 1.441 GB, free: 9.891 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.5094, allocations: 338.5 kB / 1.442 GB, free: 9.523 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.5099, allocations: 0.7166 MB / 1.442 GB, free: 8.777 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.5099, allocations: 19.42 kB / 1.442 GB, free: 8.762 MB / 1.139 GB Notification: Performance of SimCode: time 2.7e-07/0.5099, allocations: 0 / 1.442 GB, free: 8.762 MB / 1.139 GB Notification: Performance of Templates: time 0.01353/0.5234, allocations: 6.86 MB / 1.449 GB, free: 1.891 MB / 1.139 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/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: 11.756136109004728]