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.001746/0.001746, allocations: 88.72 kB / 19.44 MB, free: 356 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.002603/0.002603, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.373/3.373, allocations: 429.6 MB / 0.673 GB, free: 3.891 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 2.185e-06/2.185e-06, allocations: 0 / 0.8775 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.776e-05/3.995e-05, allocations: 4.703 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1864/0.1864, allocations: 119.2 MB / 0.9939 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1984, allocations: 7.231 MB / 1.001 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.1984, allocations: 0 / 1.001 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.1986, allocations: 23.84 kB / 1.001 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.1987, allocations: 19.78 kB / 1.001 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.2036, allocations: 1.467 MB / 1.002 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.2037, allocations: 83.56 kB / 1.003 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.2038, allocations: 4 kB / 1.003 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.204, allocations: 55.81 kB / 1.003 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.2041, allocations: 23.91 kB / 1.003 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2041, allocations: 8 kB / 1.003 GB, free: 6 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005609/0.2097, allocations: 2.622 MB / 1.005 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.2097, allocations: 11.98 kB / 1.005 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.2098, allocations: 23.91 kB / 1.005 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.2133, allocations: 1.797 MB / 1.007 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2133, allocations: 3.938 kB / 1.007 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2133, allocations: 0 / 1.007 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2133, allocations: 0 / 1.007 GB, free: 1.535 MB / 0.9636 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.001299/0.2146, allocations: 437.2 kB / 1.007 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2147, allocations: 8.031 kB / 1.007 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/0.2151, allocations: 52.62 kB / 1.007 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2153, allocations: 117.7 kB / 1.008 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.2154, allocations: 59.97 kB / 1.008 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.2154, allocations: 4.375 kB / 1.008 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.2159, allocations: 151.6 kB / 1.008 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2159, allocations: 3.938 kB / 1.008 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2159, allocations: 0 / 1.008 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2159, allocations: 4 kB / 1.008 GB, free: 0.6367 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/0.2164, allocations: 118.8 kB / 1.008 GB, free: 0.5234 MB / 0.9636 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.0005289/0.217, allocations: 268.4 kB / 1.008 GB, free: 236 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2173, allocations: 121.5 kB / 1.008 GB, free: 108 kB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.2174, allocations: 48.83 kB / 1.008 GB, free: 56 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.2295, allocations: 3.035 MB / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.2295, allocations: 38.56 kB / 1.011 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.2295, allocations: 4 kB / 1.011 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13): time 0.0006682/0.2302, allocations: 173.5 kB / 1.011 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.2302, allocations: 55.34 kB / 1.012 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2303, allocations: 105.8 kB / 1.012 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.2304, allocations: 29.7 kB / 1.012 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.2304, allocations: 80.14 kB / 1.012 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.2305, allocations: 47.58 kB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.2306, allocations: 25.72 kB / 1.012 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2307, allocations: 318.8 kB / 1.012 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.2308, allocations: 23.98 kB / 1.012 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.2309, allocations: 35.92 kB / 1.012 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.231, allocations: 72.67 kB / 1.012 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.231, allocations: 0 / 1.012 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.2312, allocations: 117.6 kB / 1.012 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2313, allocations: 4 kB / 1.012 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2313, allocations: 4 kB / 1.012 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.2313, allocations: 4 kB / 1.012 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2314, allocations: 19.98 kB / 1.012 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2314, allocations: 3.984 kB / 1.012 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.2315, allocations: 11.98 kB / 1.012 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2315, allocations: 0 / 1.012 GB, free: 11.8 MB / 0.9792 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.000122/0.2316, allocations: 121.8 kB / 1.013 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.2317, allocations: 19.83 kB / 1.013 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.2323, allocations: 384 kB / 1.013 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.2323, allocations: 4 kB / 1.013 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2323, allocations: 0 / 1.013 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2323, allocations: 3.984 kB / 1.013 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.2326, allocations: 217.1 kB / 1.013 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2327, allocations: 0 / 1.013 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2328, allocations: 23.98 kB / 1.013 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2328, allocations: 0 / 1.013 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2328, allocations: 8 kB / 1.013 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2328, allocations: 0 / 1.013 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2328, allocations: 3.938 kB / 1.013 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.2333, allocations: 339.2 kB / 1.013 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.2333, allocations: 27.81 kB / 1.014 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2333, allocations: 4 kB / 1.014 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2335, allocations: 4 kB / 1.014 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.2335, allocations: 15.97 kB / 1.014 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2335, allocations: 4 kB / 1.014 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.2336, allocations: 79.28 kB / 1.014 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2336, allocations: 4 kB / 1.014 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001015/0.2346, allocations: 307.6 kB / 1.014 GB, free: 10.2 MB / 0.9792 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.001718/0.2363, allocations: 450.9 kB / 1.014 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.2366, allocations: 116 kB / 1.014 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2366, allocations: 0 / 1.014 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2367, allocations: 95.91 kB / 1.015 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2371, allocations: 39.83 kB / 1.015 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.238, allocations: 312.7 kB / 1.015 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.2381, allocations: 102.1 kB / 1.015 GB, free: 9.055 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.2382, allocations: 32.39 kB / 1.015 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.2383, allocations: 20.48 kB / 1.015 GB, free: 9 MB / 0.9792 GB Notification: Performance of SimCode: time 5.81e-07/0.2383, allocations: 0 / 1.015 GB, free: 9 MB / 0.9792 GB Notification: Performance of Templates: time 0.01985/0.2581, allocations: 10.04 MB / 1.025 GB, free: 14.98 MB / 0.9948 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=800 -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/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: 8.947014768025838]