Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001339/0.001339, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001468/0.001468, allocations: 164.3 kB / 23.02 MB, free: 4.941 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.933/2.933, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002353/0.002353, allocations: 74.23 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1899/1.196, allocations: 119.1 MB / 1.303 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01166/1.208, allocations: 7.236 MB / 1.31 GB, free: 6.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.318e-05/1.208, allocations: 0 / 1.31 GB, free: 6.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/1.208, allocations: 17.84 kB / 1.31 GB, free: 6.969 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/1.208, allocations: 21.3 kB / 1.31 GB, free: 6.949 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/1.213, allocations: 1.459 MB / 1.311 GB, free: 5.93 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/1.214, allocations: 78.2 kB / 1.312 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/1.214, allocations: 2.969 kB / 1.312 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/1.214, allocations: 42.12 kB / 1.312 GB, free: 5.867 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/1.214, allocations: 36.14 kB / 1.312 GB, free: 5.844 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/1.214, allocations: 3.875 kB / 1.312 GB, free: 5.844 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/1.219, allocations: 2.611 MB / 1.314 GB, free: 3.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/1.219, allocations: 15.97 kB / 1.314 GB, free: 3.234 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/1.219, allocations: 27.86 kB / 1.314 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/1.222, allocations: 1.388 MB / 1.316 GB, free: 1.816 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.222, allocations: 4 kB / 1.316 GB, free: 1.812 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.044e-06/1.222, allocations: 0 / 1.316 GB, free: 1.812 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.612e-06/1.222, allocations: 3.938 kB / 1.316 GB, free: 1.809 MB / 1.154 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.00108/1.223, allocations: 429.2 kB / 1.316 GB, free: 1.359 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.223, allocations: 8.031 kB / 1.316 GB, free: 1.352 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/1.223, allocations: 28.86 kB / 1.316 GB, free: 1.324 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.223, allocations: 114.4 kB / 1.316 GB, free: 1.188 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/1.223, allocations: 55.97 kB / 1.316 GB, free: 1.121 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/1.223, allocations: 15.94 kB / 1.316 GB, free: 1.105 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/1.224, allocations: 147.2 kB / 1.316 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.224, allocations: 0 / 1.316 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/1.224, allocations: 4 kB / 1.316 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.224, allocations: 4 kB / 1.316 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/1.224, allocations: 111.9 kB / 1.316 GB, free: 0.832 MB / 1.154 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.0007069/1.225, allocations: 280.2 kB / 1.317 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.225, allocations: 118.6 kB / 1.317 GB, free: 412 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/1.225, allocations: 44.83 kB / 1.317 GB, free: 364 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/1.238, allocations: 3.044 MB / 1.32 GB, free: 13.31 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.238, allocations: 30.56 kB / 1.32 GB, free: 13.27 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/1.238, allocations: 0 / 1.32 GB, free: 13.27 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0006143/1.238, allocations: 169.1 kB / 1.32 GB, free: 13.1 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.238, allocations: 51.41 kB / 1.32 GB, free: 13.04 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/1.238, allocations: 105.8 kB / 1.32 GB, free: 12.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/1.238, allocations: 25.7 kB / 1.32 GB, free: 12.89 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.239, allocations: 88.09 kB / 1.32 GB, free: 12.8 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/1.239, allocations: 47.58 kB / 1.32 GB, free: 12.76 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/1.239, allocations: 29.72 kB / 1.32 GB, free: 12.72 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.239, allocations: 322.8 kB / 1.321 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/1.239, allocations: 27.98 kB / 1.321 GB, free: 12.37 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/1.239, allocations: 23.98 kB / 1.321 GB, free: 12.35 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/1.239, allocations: 72.78 kB / 1.321 GB, free: 12.27 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.239, allocations: 4 kB / 1.321 GB, free: 12.27 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002027/1.239, allocations: 101.7 kB / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.239, allocations: 4 kB / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.239, allocations: 0 / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.239, allocations: 192 / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.239, allocations: 31.92 kB / 1.321 GB, free: 12.13 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.239, allocations: 0 / 1.321 GB, free: 12.13 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/1.239, allocations: 7.953 kB / 1.321 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/1.239, allocations: 11.98 kB / 1.321 GB, free: 12.11 MB / 1.17 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.0001188/1.24, allocations: 121.7 kB / 1.321 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/1.24, allocations: 7.953 kB / 1.321 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/1.24, allocations: 380 kB / 1.321 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.24, allocations: 11.98 kB / 1.321 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.24, allocations: 0 / 1.321 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.24, allocations: 0 / 1.321 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/1.241, allocations: 225 kB / 1.322 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.241, allocations: 0 / 1.322 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.241, allocations: 23.92 kB / 1.322 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.241, allocations: 0 / 1.322 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.241, allocations: 4 kB / 1.322 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.241, allocations: 0 / 1.322 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.241, allocations: 0 / 1.322 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/1.241, allocations: 341.8 kB / 1.322 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/1.241, allocations: 35.75 kB / 1.322 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/1.241, allocations: 4 kB / 1.322 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/1.241, allocations: 7.984 kB / 1.322 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/1.241, allocations: 11.98 kB / 1.322 GB, free: 10.9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/1.241, allocations: 7.938 kB / 1.322 GB, free: 10.89 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001294/1.242, allocations: 87.27 kB / 1.322 GB, free: 10.8 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.242, allocations: 0 / 1.322 GB, free: 10.8 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001085/1.243, allocations: 299.7 kB / 1.322 GB, free: 10.51 MB / 1.17 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.001255/1.244, allocations: 398.7 kB / 1.323 GB, free: 10.11 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.244, allocations: 130.8 kB / 1.323 GB, free: 9.988 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.244, allocations: 0 / 1.323 GB, free: 9.988 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/1.244, allocations: 91.97 kB / 1.323 GB, free: 9.898 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/1.245, allocations: 26.02 kB / 1.323 GB, free: 9.875 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/1.245, allocations: 312.8 kB / 1.323 GB, free: 9.539 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/1.245, allocations: 107.3 kB / 1.323 GB, free: 9.418 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001163/1.246, allocations: 36.52 kB / 1.323 GB, free: 9.383 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/1.246, allocations: 20.5 kB / 1.324 GB, free: 9.363 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/1.246, allocations: 0 / 1.324 GB, free: 9.363 MB / 1.17 GB Notification: Performance of Templates: time 0.0177/1.263, allocations: 9.836 MB / 1.333 GB, free: 15.55 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.620984509936534]