Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001635/0.001635, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001574/0.001574, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.573/1.573, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.967/2.967, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.175e-05, allocations: 5.656 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1701/0.1702, allocations: 119.2 MB / 1.098 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1802, allocations: 7.212 MB / 1.105 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.1803, allocations: 4 kB / 1.105 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.1805, allocations: 27.77 kB / 1.105 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.1806, allocations: 27.78 kB / 1.105 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.1849, allocations: 1.478 MB / 1.106 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.185, allocations: 79.58 kB / 1.106 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1851, allocations: 4 kB / 1.106 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1853, allocations: 55.81 kB / 1.106 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.1854, allocations: 27.89 kB / 1.106 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1854, allocations: 4 kB / 1.106 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004965/0.1904, allocations: 2.618 MB / 1.109 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.1904, allocations: 15.97 kB / 1.109 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.485e-05/0.1905, allocations: 27.91 kB / 1.109 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.1933, allocations: 1.793 MB / 1.111 GB, free: 6.984 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1933, allocations: 4 kB / 1.111 GB, free: 6.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1933, allocations: 3.938 kB / 1.111 GB, free: 6.977 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.1934, allocations: 0 / 1.111 GB, free: 6.977 MB / 1.061 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.001054/0.1944, allocations: 425.3 kB / 1.111 GB, free: 6.531 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1944, allocations: 8.031 kB / 1.111 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003808/0.1948, allocations: 28.86 kB / 1.111 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1949, allocations: 109.7 kB / 1.111 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.195, allocations: 59.91 kB / 1.111 GB, free: 6.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1951, allocations: 8.375 kB / 1.111 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1955, allocations: 151.5 kB / 1.112 GB, free: 6.125 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1955, allocations: 0 / 1.112 GB, free: 6.125 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1955, allocations: 8 kB / 1.112 GB, free: 6.117 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1955, allocations: 0 / 1.112 GB, free: 6.117 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.1958, allocations: 119.8 kB / 1.112 GB, free: 6 MB / 1.061 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.0005804/0.1964, allocations: 272.5 kB / 1.112 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.1968, allocations: 126.5 kB / 1.112 GB, free: 5.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.1968, allocations: 44.84 kB / 1.112 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.2088, allocations: 3.047 MB / 1.115 GB, free: 2.473 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.2089, allocations: 34.56 kB / 1.115 GB, free: 2.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.2089, allocations: 0 / 1.115 GB, free: 2.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000756/0.2097, allocations: 161.6 kB / 1.115 GB, free: 2.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.2097, allocations: 55.41 kB / 1.115 GB, free: 2.199 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2098, allocations: 109.8 kB / 1.115 GB, free: 2.082 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.2099, allocations: 25.7 kB / 1.115 GB, free: 2.051 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.21, allocations: 96.06 kB / 1.116 GB, free: 1.953 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.21, allocations: 43.59 kB / 1.116 GB, free: 1.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.2101, allocations: 25.72 kB / 1.116 GB, free: 1.879 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2103, allocations: 322.8 kB / 1.116 GB, free: 1.555 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.2103, allocations: 19.98 kB / 1.116 GB, free: 1.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/0.2104, allocations: 27.98 kB / 1.116 GB, free: 1.508 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2105, allocations: 76.42 kB / 1.116 GB, free: 1.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2105, allocations: 0 / 1.116 GB, free: 1.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002207/0.2107, allocations: 105.6 kB / 1.116 GB, free: 1.324 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.2108, allocations: 8 kB / 1.116 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2108, allocations: 11.88 kB / 1.116 GB, free: 1.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.2108, allocations: 3.984 kB / 1.116 GB, free: 1.301 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.211, allocations: 16 kB / 1.116 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.211, allocations: 0 / 1.116 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.211, allocations: 11.94 kB / 1.116 GB, free: 1.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.211, allocations: 4 kB / 1.116 GB, free: 1.27 MB / 1.061 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.0001157/0.2112, allocations: 121.7 kB / 1.116 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.2112, allocations: 7.953 kB / 1.116 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.2117, allocations: 380.3 kB / 1.117 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2118, allocations: 8 kB / 1.117 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.2118, allocations: 7.984 kB / 1.117 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2118, allocations: 0 / 1.117 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.2121, allocations: 217 kB / 1.117 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2121, allocations: 0 / 1.117 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.2122, allocations: 19.98 kB / 1.117 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.2122, allocations: 4 kB / 1.117 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2122, allocations: 0 / 1.117 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2122, allocations: 0 / 1.117 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2122, allocations: 0 / 1.117 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.2126, allocations: 343 kB / 1.117 GB, free: 124 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.2126, allocations: 35.75 kB / 1.117 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.2127, allocations: 4 kB / 1.117 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2128, allocations: 8 kB / 1.117 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.2128, allocations: 15.97 kB / 1.117 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2129, allocations: 4 kB / 1.117 GB, free: 56 kB / 1.061 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.2129, allocations: 75.28 kB / 1.117 GB, free: 15.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.2129, allocations: 4 kB / 1.117 GB, free: 15.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001066/0.214, allocations: 303.7 kB / 1.118 GB, free: 15.68 MB / 1.076 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.001392/0.2154, allocations: 447 kB / 1.118 GB, free: 15.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.2156, allocations: 127.8 kB / 1.118 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2156, allocations: 4 kB / 1.118 GB, free: 15.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2158, allocations: 91.91 kB / 1.118 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2161, allocations: 22.5 kB / 1.118 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.2167, allocations: 313.1 kB / 1.119 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2168, allocations: 106.4 kB / 1.119 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.2169, allocations: 32.34 kB / 1.119 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.217, allocations: 12.5 kB / 1.119 GB, free: 14.5 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.217, allocations: 0 / 1.119 GB, free: 14.5 MB / 1.076 GB Notification: Performance of Templates: time 0.01694/0.2339, allocations: 9.886 MB / 1.128 GB, free: 4.633 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.619434725493193]