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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.00108/0.001081, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.785/1.785, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 95.94 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.428e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3381, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.501/2.839, allocations: 0.6906 GB / 1.909 GB, free: 198.2 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/2.839, allocations: 72.28 kB / 1.909 GB, free: 198.2 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 0.1612/3, allocations: 64.8 MB / 1.973 GB, free: 140.4 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.633e-06/3, allocations: 0 / 1.973 GB, free: 140.4 MB / 1.135 GB Notification: Performance of Transformations before backend: time 8.125e-06/3, allocations: 0 / 1.973 GB, free: 140.4 MB / 1.135 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.001819/3.002, allocations: 0.4899 MB / 1.973 GB, free: 139.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/3.002, allocations: 8.031 kB / 1.973 GB, free: 139.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/3.003, allocations: 23.89 kB / 1.973 GB, free: 139.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/3.003, allocations: 170.9 kB / 1.973 GB, free: 139.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/3.003, allocations: 37.64 kB / 1.973 GB, free: 139.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/3.003, allocations: 7.312 kB / 1.973 GB, free: 139.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/3.003, allocations: 119.3 kB / 1.974 GB, free: 139.5 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/3.003, allocations: 0 / 1.974 GB, free: 139.5 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/3.003, allocations: 7.953 kB / 1.974 GB, free: 139.5 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/3.003, allocations: 0 / 1.974 GB, free: 139.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/3.004, allocations: 124.7 kB / 1.974 GB, free: 139.4 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/3.004, allocations: 333.6 kB / 1.974 GB, free: 139 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/3.004, allocations: 123.8 kB / 1.974 GB, free: 139 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/3.004, allocations: 53.62 kB / 1.974 GB, free: 138.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/3.014, allocations: 4.169 MB / 1.978 GB, free: 134.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/3.014, allocations: 34.5 kB / 1.978 GB, free: 134.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/3.014, allocations: 0 / 1.978 GB, free: 134.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=13): time 0.0005151/3.015, allocations: 143.4 kB / 1.978 GB, free: 134.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/3.015, allocations: 55.41 kB / 1.978 GB, free: 134.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/3.015, allocations: 93 kB / 1.979 GB, free: 134.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/3.015, allocations: 29.52 kB / 1.979 GB, free: 134.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/3.015, allocations: 84.62 kB / 1.979 GB, free: 134.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/3.015, allocations: 43.44 kB / 1.979 GB, free: 134 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/3.015, allocations: 3.562 kB / 1.979 GB, free: 134 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/3.015, allocations: 318.5 kB / 1.979 GB, free: 133.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/3.015, allocations: 23.75 kB / 1.979 GB, free: 133.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/3.015, allocations: 23.12 kB / 1.979 GB, free: 133.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/3.015, allocations: 34.67 kB / 1.979 GB, free: 133.7 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/3.015, allocations: 4 kB / 1.979 GB, free: 133.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001496/3.016, allocations: 104.1 kB / 1.979 GB, free: 133.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/3.016, allocations: 7.953 kB / 1.979 GB, free: 133.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/3.016, allocations: 0 / 1.979 GB, free: 133.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/3.016, allocations: 8.172 kB / 1.979 GB, free: 133.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/3.016, allocations: 16 kB / 1.979 GB, free: 133.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/3.016, allocations: 3.984 kB / 1.979 GB, free: 133.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/3.016, allocations: 11.62 kB / 1.979 GB, free: 133.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/3.016, allocations: 3.984 kB / 1.979 GB, free: 133.5 MB / 1.135 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 7.074e-05/3.016, allocations: 120.7 kB / 1.979 GB, free: 133.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/3.016, allocations: 7.906 kB / 1.979 GB, free: 133.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/3.016, allocations: 364.4 kB / 1.98 GB, free: 133.1 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/3.016, allocations: 3.984 kB / 1.98 GB, free: 133.1 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/3.016, allocations: 0 / 1.98 GB, free: 133.1 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/3.016, allocations: 4 kB / 1.98 GB, free: 133.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/3.017, allocations: 286.8 kB / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/3.017, allocations: 4 kB / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/3.017, allocations: 27.48 kB / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/3.017, allocations: 0 / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/3.017, allocations: 3.953 kB / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/3.017, allocations: 4 kB / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/3.017, allocations: 3.938 kB / 1.98 GB, free: 132.8 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/3.017, allocations: 332.8 kB / 1.98 GB, free: 132.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/3.017, allocations: 100.9 kB / 1.98 GB, free: 132.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/3.017, allocations: 7.953 kB / 1.98 GB, free: 132.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/3.018, allocations: 8 kB / 1.98 GB, free: 132.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/3.018, allocations: 7.984 kB / 1.98 GB, free: 132.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/3.018, allocations: 4 kB / 1.98 GB, free: 132.3 MB / 1.135 GB Notification: Performance of sorting global known variables: time 3.007e-05/3.018, allocations: 87.27 kB / 1.981 GB, free: 132.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.41e-07/3.018, allocations: 0 / 1.981 GB, free: 132.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002131/3.02, allocations: 343.8 kB / 1.981 GB, free: 131.9 MB / 1.135 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.001979/3.022, allocations: 0.8303 MB / 1.982 GB, free: 131.1 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002503/3.022, allocations: 123.9 kB / 1.982 GB, free: 131 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.022, allocations: 0 / 1.982 GB, free: 131 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/3.022, allocations: 114.7 kB / 1.982 GB, free: 130.9 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/3.022, allocations: 16.67 kB / 1.982 GB, free: 130.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/3.023, allocations: 226.2 kB / 1.982 GB, free: 130.6 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/3.023, allocations: 0.7208 MB / 1.983 GB, free: 129.9 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001279/3.023, allocations: 36.31 kB / 1.983 GB, free: 129.8 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/3.023, allocations: 19.42 kB / 1.983 GB, free: 129.8 MB / 1.135 GB Notification: Performance of SimCode: time 2.3e-07/3.023, allocations: 0 / 1.983 GB, free: 129.8 MB / 1.135 GB Notification: Performance of Templates: time 0.02235/3.046, allocations: 17.37 MB / 2 GB, free: 112.4 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches