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.772/2.772, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001527/0.001527, allocations: 168 kB / 0.4901 GB, free: 2.25 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.729/1.729, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001075/0.001075, allocations: 92.34 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 11.09 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3655, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.251/2.617, allocations: 0.6907 GB / 1.92 GB, free: 403.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/2.617, allocations: 82.33 kB / 1.92 GB, free: 403.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1592/2.776, allocations: 64.94 MB / 1.983 GB, free: 350.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.294e-06/2.777, allocations: 0 / 1.983 GB, free: 350.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.865e-06/2.777, allocations: 4 kB / 1.983 GB, free: 350.1 MB / 1.167 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.001743/2.778, allocations: 0.4989 MB / 1.984 GB, free: 349.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/2.778, allocations: 16.5 kB / 1.984 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/2.778, allocations: 38.55 kB / 1.984 GB, free: 349.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004047/2.779, allocations: 27.88 kB / 1.984 GB, free: 349.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/2.779, allocations: 163 kB / 1.984 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/2.779, allocations: 37.69 kB / 1.984 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/2.779, allocations: 4 kB / 1.984 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/2.779, allocations: 121.5 kB / 1.984 GB, free: 349.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/2.779, allocations: 7.953 kB / 1.984 GB, free: 349.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/2.779, allocations: 0 / 1.984 GB, free: 349.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/2.779, allocations: 4 kB / 1.984 GB, free: 349.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/2.78, allocations: 119.9 kB / 1.984 GB, free: 349 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/2.78, allocations: 328.6 kB / 1.985 GB, free: 348.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/2.78, allocations: 130.5 kB / 1.985 GB, free: 348.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/2.791, allocations: 4.153 MB / 1.989 GB, free: 344 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/2.791, allocations: 34.56 kB / 1.989 GB, free: 344 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/2.791, allocations: 4 kB / 1.989 GB, free: 344 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0005287/2.791, allocations: 161.4 kB / 1.989 GB, free: 343.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/2.791, allocations: 51.41 kB / 1.989 GB, free: 343.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/2.791, allocations: 100.9 kB / 1.989 GB, free: 343.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/2.791, allocations: 25.7 kB / 1.989 GB, free: 343.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/2.791, allocations: 92.05 kB / 1.989 GB, free: 343.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/2.791, allocations: 47.52 kB / 1.989 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/2.791, allocations: 0 / 1.989 GB, free: 343.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/2.792, allocations: 322.8 kB / 1.99 GB, free: 343.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/2.792, allocations: 24 kB / 1.99 GB, free: 343.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/2.792, allocations: 23.98 kB / 1.99 GB, free: 343.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/2.792, allocations: 31.98 kB / 1.99 GB, free: 343.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/2.792, allocations: 0 / 1.99 GB, free: 343.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001941/2.792, allocations: 109.6 kB / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/2.792, allocations: 9.828 kB / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/2.792, allocations: 0 / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/2.792, allocations: 0 / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/2.792, allocations: 27.92 kB / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/2.792, allocations: 0 / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/2.792, allocations: 7.906 kB / 1.99 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/2.792, allocations: 4 kB / 1.99 GB, free: 342.9 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/2.792, allocations: 113.8 kB / 1.99 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/2.792, allocations: 11.98 kB / 1.99 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/2.793, allocations: 387.7 kB / 1.99 GB, free: 342.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/2.793, allocations: 4 kB / 1.99 GB, free: 342.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.793, allocations: 0 / 1.99 GB, free: 342.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/2.793, allocations: 0 / 1.99 GB, free: 342.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/2.793, allocations: 281.4 kB / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.793, allocations: 0 / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/2.793, allocations: 23.98 kB / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.793, allocations: 0 / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/2.793, allocations: 7.953 kB / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/2.793, allocations: 0 / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.793, allocations: 4.188 kB / 1.991 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/2.794, allocations: 331.5 kB / 1.991 GB, free: 341.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/2.794, allocations: 108.8 kB / 1.991 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/2.794, allocations: 11.95 kB / 1.991 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/2.794, allocations: 7.984 kB / 1.991 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/2.794, allocations: 11.98 kB / 1.991 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/2.794, allocations: 4 kB / 1.991 GB, free: 341.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.279e-05/2.794, allocations: 79.28 kB / 1.991 GB, free: 341.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/2.794, allocations: 0 / 1.991 GB, free: 341.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002107/2.796, allocations: 339.8 kB / 1.992 GB, free: 341.1 MB / 1.167 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 (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.003814/2.8, allocations: 1.589 MB / 1.993 GB, free: 339.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002591/2.8, allocations: 125.2 kB / 1.993 GB, free: 339.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.8, allocations: 0 / 1.993 GB, free: 339.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/2.8, allocations: 115.8 kB / 1.993 GB, free: 339.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/2.801, allocations: 19.92 kB / 1.993 GB, free: 339.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/2.802, allocations: 0.5038 MB / 1.994 GB, free: 338.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/2.802, allocations: 0.7247 MB / 1.995 GB, free: 337.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001325/2.802, allocations: 20.42 kB / 1.995 GB, free: 337.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/2.803, allocations: 43.41 kB / 1.995 GB, free: 337.9 MB / 1.167 GB Notification: Performance of SimCode: time 4.91e-07/2.803, allocations: 0 / 1.995 GB, free: 337.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/2.842, allocations: 18.91 MB / 2.013 GB, free: 319.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/2.843, allocations: 190.9 kB / 2.013 GB, free: 318.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/5.114, allocations: 0 / 2.013 GB, free: 318.9 MB / 1.167 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