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.000751/0.000751, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009525/0.001703, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009309/0.0009309, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008602/0.001791, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0924/1.102, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.324/2.324, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2669/2.591, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.585e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1769/0.1769, allocations: 131.2 MB / 0.9464 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00647/0.1834, allocations: 7.967 MB / 0.9542 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.1834, allocations: 0 / 0.9542 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1835, allocations: 23.84 kB / 0.9542 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.1836, allocations: 19.78 kB / 0.9542 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.1859, allocations: 1.307 MB / 0.9555 GB, free: 5.852 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1861, allocations: 79.58 kB / 0.9556 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.1861, allocations: 4 kB / 0.9556 GB, free: 5.77 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.1863, allocations: 63.75 kB / 0.9557 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1864, allocations: 31.89 kB / 0.9557 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1864, allocations: 8 kB / 0.9557 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.1906, allocations: 2.782 MB / 0.9584 GB, free: 2.883 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.1906, allocations: 4 kB / 0.9584 GB, free: 2.879 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.1906, allocations: 23.88 kB / 0.9584 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.1926, allocations: 1.322 MB / 0.9597 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.13e-05/0.1926, allocations: 3.984 kB / 0.9597 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1926, allocations: 3.938 kB / 0.9597 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.1927, allocations: 0 / 0.9597 GB, free: 1.523 MB / 0.9323 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.001213/0.1939, allocations: 0.5553 MB / 0.9603 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1939, allocations: 16.62 kB / 0.9603 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003874/0.1943, allocations: 64.59 kB / 0.9604 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.94e-05/0.1944, allocations: 109.7 kB / 0.9605 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.1945, allocations: 63.91 kB / 0.9605 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1945, allocations: 4.375 kB / 0.9605 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1948, allocations: 151.1 kB / 0.9607 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1948, allocations: 0 / 0.9607 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1948, allocations: 4 kB / 0.9607 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1948, allocations: 0 / 0.9607 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.195, allocations: 75.91 kB / 0.9607 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1954, allocations: 221.8 kB / 0.961 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1955, allocations: 98.45 kB / 0.961 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.1956, allocations: 28.84 kB / 0.9611 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005256/0.2008, allocations: 2.657 MB / 0.9637 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2009, allocations: 34.56 kB / 0.9637 GB, free: 13.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2009, allocations: 0 / 0.9637 GB, free: 13.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.000241/0.2011, allocations: 128.3 kB / 0.9638 GB, free: 13.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.2011, allocations: 55.34 kB / 0.9639 GB, free: 13.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.2012, allocations: 110.7 kB / 0.964 GB, free: 13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2012, allocations: 33.7 kB / 0.964 GB, free: 12.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.2012, allocations: 80.14 kB / 0.9641 GB, free: 12.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2012, allocations: 47.56 kB / 0.9641 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.2013, allocations: 25.7 kB / 0.9642 GB, free: 12.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.2013, allocations: 318.8 kB / 0.9645 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.2014, allocations: 11.98 kB / 0.9645 GB, free: 12.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.2014, allocations: 12 kB / 0.9645 GB, free: 12.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.2014, allocations: 52.81 kB / 0.9645 GB, free: 12.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2014, allocations: 0 / 0.9645 GB, free: 12.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.859e-05/0.2015, allocations: 89.03 kB / 0.9646 GB, free: 12.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2015, allocations: 8 kB / 0.9646 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2015, allocations: 3.938 kB / 0.9646 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/0.2015, allocations: 0 / 0.9646 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.2016, allocations: 27.98 kB / 0.9647 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2016, allocations: 4 kB / 0.9647 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.2016, allocations: 3.953 kB / 0.9647 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2016, allocations: 0 / 0.9647 GB, free: 12.27 MB / 0.948 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 5.115e-05/0.2017, allocations: 117.8 kB / 0.9648 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.2017, allocations: 19.88 kB / 0.9648 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.2019, allocations: 259.1 kB / 0.965 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.2019, allocations: 11.98 kB / 0.9651 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2019, allocations: 4 kB / 0.9651 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2019, allocations: 0 / 0.9651 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2021, allocations: 138 kB / 0.9652 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2021, allocations: 4 kB / 0.9652 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.2021, allocations: 23.98 kB / 0.9652 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.2021, allocations: 27.89 kB / 0.9652 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2021, allocations: 4 kB / 0.9653 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.2021, allocations: 7.984 kB / 0.9653 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2021, allocations: 0 / 0.9653 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2021, allocations: 11.92 kB / 0.9653 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.2023, allocations: 286.5 kB / 0.9655 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2023, allocations: 7.938 kB / 0.9656 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.2024, allocations: 4 kB / 0.9656 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.2024, allocations: 7.984 kB / 0.9656 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2024, allocations: 7.984 kB / 0.9656 GB, free: 11.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.807e-06/0.2024, allocations: 8.859 kB / 0.9656 GB, free: 11.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.2024, allocations: 0 / 0.9656 GB, free: 11.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004716/0.2029, allocations: 307.6 kB / 0.9659 GB, free: 10.98 MB / 0.948 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.0008146/0.2037, allocations: 463.7 kB / 0.9663 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.2038, allocations: 75.3 kB / 0.9664 GB, free: 10.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2038, allocations: 0 / 0.9664 GB, free: 10.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.2038, allocations: 60.75 kB / 0.9664 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.204, allocations: 43.91 kB / 0.9665 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2053, allocations: 299.4 kB / 0.9668 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.2053, allocations: 76.72 kB / 0.9668 GB, free: 9.926 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.227e-05/0.2054, allocations: 28.41 kB / 0.9669 GB, free: 9.898 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.2055, allocations: 89.31 kB / 0.967 GB, free: 9.809 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.2055, allocations: 0 / 0.967 GB, free: 9.809 MB / 0.948 GB Notification: Performance of Templates: time 0.01006/0.2155, allocations: 11.07 MB / 0.9778 GB, free: 14.75 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.532717250287533]