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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.5 MB / 398 MB, free: 10.93 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.001194/0.001194, allocations: 172.9 kB / 491.2 MB, free: 1.566 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.479/1.479, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001147/0.001147, allocations: 94.12 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.043e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.08/2.339, allocations: 0.69 GB / 1.902 GB, free: 272.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/2.339, allocations: 68.03 kB / 1.902 GB, free: 272.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1485/2.488, allocations: 63.87 MB / 1.965 GB, free: 217.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/2.488, allocations: 0 / 1.965 GB, free: 217.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.163e-06/2.488, allocations: 8 kB / 1.965 GB, free: 217.7 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.001591/2.489, allocations: 0.4908 MB / 1.965 GB, free: 217.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/2.489, allocations: 12.03 kB / 1.965 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/2.49, allocations: 15.98 kB / 1.965 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/2.49, allocations: 167 kB / 1.965 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/2.49, allocations: 37.62 kB / 1.966 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/2.49, allocations: 4 kB / 1.966 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/2.49, allocations: 85.77 kB / 1.966 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/2.49, allocations: 82.3 kB / 1.966 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/2.49, allocations: 7.938 kB / 1.966 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/2.49, allocations: 0 / 1.966 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/2.49, allocations: 0 / 1.966 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/2.491, allocations: 301.9 kB / 1.966 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/2.491, allocations: 107 kB / 1.966 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/2.491, allocations: 49.91 kB / 1.966 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009952/2.501, allocations: 4.173 MB / 1.97 GB, free: 211.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/2.501, allocations: 34.52 kB / 1.97 GB, free: 211.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 2.826e-06/2.501, allocations: 0 / 1.97 GB, free: 211.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0004719/2.502, allocations: 123.9 kB / 1.97 GB, free: 211.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/2.502, allocations: 51.41 kB / 1.97 GB, free: 211.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/2.502, allocations: 92.94 kB / 1.97 GB, free: 211.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/2.502, allocations: 25.7 kB / 1.97 GB, free: 211.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/2.502, allocations: 84.64 kB / 1.971 GB, free: 211.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/2.502, allocations: 43.38 kB / 1.971 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/2.502, allocations: 0 / 1.971 GB, free: 211.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/2.502, allocations: 322.6 kB / 1.971 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/2.502, allocations: 19.31 kB / 1.971 GB, free: 211.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/2.502, allocations: 22.25 kB / 1.971 GB, free: 211.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/2.502, allocations: 30.92 kB / 1.971 GB, free: 211.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/2.502, allocations: 0 / 1.971 GB, free: 211.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002121/2.502, allocations: 105 kB / 1.971 GB, free: 211 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/2.502, allocations: 5.719 kB / 1.971 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/2.502, allocations: 0 / 1.971 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/2.502, allocations: 7.953 kB / 1.971 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/2.502, allocations: 23.98 kB / 1.971 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/2.502, allocations: 0 / 1.971 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/2.502, allocations: 7.875 kB / 1.971 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/2.503, allocations: 7.812 kB / 1.971 GB, free: 210.9 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 5.463e-05/2.503, allocations: 108.9 kB / 1.971 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002198/2.503, allocations: 98.83 kB / 1.971 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/2.503, allocations: 11.86 kB / 1.971 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/2.503, allocations: 366.6 kB / 1.972 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/2.503, allocations: 4 kB / 1.972 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.503, allocations: 0 / 1.972 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/2.503, allocations: 0 / 1.972 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/2.504, allocations: 243.8 kB / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/2.504, allocations: 0 / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/2.504, allocations: 27.98 kB / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/2.504, allocations: 0 / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/2.504, allocations: 0 / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/2.504, allocations: 3.953 kB / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/2.504, allocations: 0 / 1.972 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/2.504, allocations: 326.6 kB / 1.972 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/2.504, allocations: 100.5 kB / 1.972 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/2.504, allocations: 0 / 1.972 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/2.504, allocations: 15.94 kB / 1.972 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/2.504, allocations: 7.984 kB / 1.972 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/2.504, allocations: 4 kB / 1.972 GB, free: 209.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.168e-05/2.504, allocations: 86.64 kB / 1.972 GB, free: 209.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/2.504, allocations: 0 / 1.972 GB, free: 209.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001438/2.506, allocations: 333.6 kB / 1.973 GB, free: 209.4 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.003047/2.509, allocations: 1.67 MB / 1.974 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001746/2.509, allocations: 120.2 kB / 1.975 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/2.509, allocations: 0 / 1.975 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/2.509, allocations: 104.9 kB / 1.975 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/2.509, allocations: 21 kB / 1.975 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/2.51, allocations: 345.9 kB / 1.975 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/2.511, allocations: 0.7205 MB / 1.976 GB, free: 206.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001129/2.511, allocations: 28.34 kB / 1.976 GB, free: 206.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/2.511, allocations: 37.55 kB / 1.976 GB, free: 206.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/2.511, allocations: 0 / 1.976 GB, free: 206.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/2.547, allocations: 14.18 MB / 1.99 GB, free: 192.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.548, allocations: 159.9 kB / 1.99 GB, free: 192.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/4.433, allocations: 0 / 1.99 GB, free: 192.1 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat does not exist to compare? outputFormat=mat