Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.03/2.03, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009949/0.000995, allocations: 184.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.0008981, allocations: 99.83 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.238e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.929/2.201, allocations: 0.6892 GB / 1.895 GB, free: 319.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/2.201, allocations: 71.97 kB / 1.895 GB, free: 319.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1416/2.343, allocations: 63.86 MB / 1.958 GB, free: 255.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/2.343, allocations: 0 / 1.958 GB, free: 255.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.925e-06/2.343, allocations: 0 / 1.958 GB, free: 255.5 MB / 1.151 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.001573/2.345, allocations: 0.4908 MB / 1.958 GB, free: 254.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/2.345, allocations: 8.031 kB / 1.958 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/2.345, allocations: 19.94 kB / 1.958 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/2.345, allocations: 178.9 kB / 1.958 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/2.345, allocations: 37.64 kB / 1.958 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/2.345, allocations: 4 kB / 1.958 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001596/2.345, allocations: 79.95 kB / 1.958 GB, free: 254.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/2.345, allocations: 75.91 kB / 1.958 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/2.345, allocations: 0 / 1.958 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/2.345, allocations: 3.953 kB / 1.958 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/2.345, allocations: 0 / 1.958 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/2.346, allocations: 309.2 kB / 1.959 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/2.346, allocations: 110.5 kB / 1.959 GB, free: 254 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/2.346, allocations: 44.84 kB / 1.959 GB, free: 254 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009405/2.355, allocations: 4.172 MB / 1.963 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/2.356, allocations: 30.81 kB / 1.963 GB, free: 249.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/2.356, allocations: 0 / 1.963 GB, free: 249.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0003719/2.356, allocations: 121.6 kB / 1.963 GB, free: 249.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/2.356, allocations: 55.41 kB / 1.963 GB, free: 249.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.672e-05/2.356, allocations: 93 kB / 1.963 GB, free: 249.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/2.356, allocations: 33.64 kB / 1.963 GB, free: 249.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/2.356, allocations: 80.14 kB / 1.963 GB, free: 249.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/2.356, allocations: 39.5 kB / 1.963 GB, free: 249 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/2.356, allocations: 0 / 1.963 GB, free: 249 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/2.356, allocations: 326.8 kB / 1.964 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/2.356, allocations: 20 kB / 1.964 GB, free: 248.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/2.356, allocations: 20 kB / 1.964 GB, free: 248.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/2.356, allocations: 28.48 kB / 1.964 GB, free: 248.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/2.356, allocations: 0 / 1.964 GB, free: 248.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001952/2.357, allocations: 110.3 kB / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/2.357, allocations: 4 kB / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/2.357, allocations: 0 / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/2.357, allocations: 4 kB / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/2.357, allocations: 23.92 kB / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/2.357, allocations: 3.953 kB / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/2.357, allocations: 3.938 kB / 1.964 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/2.357, allocations: 8 kB / 1.964 GB, free: 248.5 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/2.357, allocations: 102.2 kB / 1.964 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/2.357, allocations: 15.91 kB / 1.964 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/2.357, allocations: 348.5 kB / 1.964 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/2.357, allocations: 11.98 kB / 1.964 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/2.357, allocations: 3.953 kB / 1.964 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/2.357, allocations: 3.938 kB / 1.964 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/2.357, allocations: 245.9 kB / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/2.357, allocations: 4 kB / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/2.358, allocations: 19.98 kB / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/2.358, allocations: 3.938 kB / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/2.358, allocations: 0 / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/2.358, allocations: 4 kB / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/2.358, allocations: 0 / 1.965 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/2.358, allocations: 323.7 kB / 1.965 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/2.358, allocations: 109.1 kB / 1.965 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/2.358, allocations: 0 / 1.965 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/2.358, allocations: 11.97 kB / 1.965 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/2.358, allocations: 11.92 kB / 1.965 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/2.358, allocations: 4 kB / 1.965 GB, free: 247.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 1.831e-05/2.358, allocations: 79.28 kB / 1.965 GB, free: 247.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/2.358, allocations: 0 / 1.965 GB, free: 247.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001211/2.359, allocations: 339.7 kB / 1.965 GB, free: 246.8 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002099/2.362, allocations: 0.9073 MB / 1.966 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001476/2.362, allocations: 119.9 kB / 1.966 GB, free: 245.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.362, allocations: 4 kB / 1.966 GB, free: 245.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/2.362, allocations: 103.9 kB / 1.967 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/2.362, allocations: 17.02 kB / 1.967 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/2.362, allocations: 216.6 kB / 1.967 GB, free: 245.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/2.362, allocations: 0.7205 MB / 1.968 GB, free: 244.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 9.525e-05/2.363, allocations: 28.34 kB / 1.968 GB, free: 244.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/2.363, allocations: 15.44 kB / 1.968 GB, free: 244.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/2.363, allocations: 0 / 1.968 GB, free: 244.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01446/2.377, allocations: 11.64 MB / 1.979 GB, free: 232.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches