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.002246/0.002246, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002687/0.002687, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.451/3.451, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8774 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.561e-05, allocations: 8.719 kB / 0.8774 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1961/0.1962, allocations: 131 MB / 1.005 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.2098, allocations: 7.921 MB / 1.013 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2099, allocations: 4 kB / 1.013 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.2102, allocations: 19.91 kB / 1.013 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.2103, allocations: 19.84 kB / 1.013 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.2159, allocations: 1.467 MB / 1.015 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.2161, allocations: 83.56 kB / 1.015 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.2161, allocations: 7.984 kB / 1.015 GB, free: 8.559 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.2163, allocations: 51.88 kB / 1.015 GB, free: 8.508 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2164, allocations: 35.89 kB / 1.015 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2164, allocations: 0 / 1.015 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005329/0.2218, allocations: 2.621 MB / 1.017 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.2218, allocations: 11.98 kB / 1.017 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.2219, allocations: 27.91 kB / 1.017 GB, free: 5.809 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.2251, allocations: 1.801 MB / 1.019 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2251, allocations: 4 kB / 1.019 GB, free: 4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2251, allocations: 0 / 1.019 GB, free: 4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.2251, allocations: 3.984 kB / 1.019 GB, free: 3.996 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.001094/0.2262, allocations: 0.5149 MB / 1.02 GB, free: 3.445 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2262, allocations: 11.97 kB / 1.02 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.2267, allocations: 52.62 kB / 1.02 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.2268, allocations: 120.5 kB / 1.02 GB, free: 3.238 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/0.2269, allocations: 55.97 kB / 1.02 GB, free: 3.172 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2269, allocations: 8.375 kB / 1.02 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.2273, allocations: 135.6 kB / 1.02 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2273, allocations: 4 kB / 1.02 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2273, allocations: 0 / 1.02 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2273, allocations: 0 / 1.02 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.2276, allocations: 107.8 kB / 1.02 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.2282, allocations: 323.6 kB / 1.02 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.2285, allocations: 130.8 kB / 1.02 GB, free: 2.422 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.2286, allocations: 43.67 kB / 1.021 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5616/0.7902, allocations: 3.04 MB / 1.024 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.654e-05/0.7903, allocations: 38.11 kB / 1.024 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.7903, allocations: 2.688 kB / 1.024 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0006048/0.7909, allocations: 175.1 kB / 1.024 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.791, allocations: 53.78 kB / 1.024 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.791, allocations: 161.1 kB / 1.024 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.7911, allocations: 26.98 kB / 1.024 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.7911, allocations: 132.4 kB / 1.024 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.7911, allocations: 45.92 kB / 1.024 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.7912, allocations: 33.88 kB / 1.024 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.7913, allocations: 500 kB / 1.025 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.7913, allocations: 25.02 kB / 1.025 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.7914, allocations: 25.42 kB / 1.025 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.7915, allocations: 72.52 kB / 1.025 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7915, allocations: 3.734 kB / 1.025 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002444/0.7918, allocations: 110.6 kB / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7918, allocations: 9.078 kB / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7918, allocations: 0 / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.7918, allocations: 1.75 kB / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.792, allocations: 25.28 kB / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.792, allocations: 0.6875 kB / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.792, allocations: 14.97 kB / 1.025 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.792, allocations: 4.141 kB / 1.025 GB, free: 160.7 MB / 0.9323 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 7.334e-05/0.7921, allocations: 165.4 kB / 1.025 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.7922, allocations: 18.27 kB / 1.025 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.7926, allocations: 276.7 kB / 1.025 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.7927, allocations: 5.672 kB / 1.025 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7927, allocations: 1.031 kB / 1.025 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.7927, allocations: 1.219 kB / 1.025 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.7929, allocations: 199.4 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7929, allocations: 2.562 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.793, allocations: 25.11 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.793, allocations: 0.7812 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.793, allocations: 6.141 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.793, allocations: 1.438 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.793, allocations: 1.875 kB / 1.026 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.7934, allocations: 346.1 kB / 1.026 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.7935, allocations: 32.14 kB / 1.026 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.7935, allocations: 5.453 kB / 1.026 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.7936, allocations: 5 kB / 1.026 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.7937, allocations: 12.97 kB / 1.026 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.7937, allocations: 6.016 kB / 1.026 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.7937, allocations: 123.6 kB / 1.026 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.7937, allocations: 1.094 kB / 1.026 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001429/0.7952, allocations: 304 kB / 1.026 GB, free: 159.9 MB / 0.9323 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.001788/0.7969, allocations: 455.3 kB / 1.027 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.7972, allocations: 101.4 kB / 1.027 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7972, allocations: 0 / 1.027 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.7974, allocations: 92.42 kB / 1.027 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.7977, allocations: 28.42 kB / 1.027 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.7983, allocations: 296.8 kB / 1.027 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.7984, allocations: 101.5 kB / 1.027 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.7985, allocations: 30.83 kB / 1.027 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.7986, allocations: 17.33 kB / 1.027 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of SimCode: time 7.41e-07/0.7986, allocations: 0 / 1.027 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.02653/0.8251, allocations: 10.34 MB / 1.038 GB, free: 158.9 MB / 0.9323 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/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.778456798987463]