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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001132/0.001132, allocations: 165.2 kB / 498.1 MB, free: 5.676 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.51/1.51, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.000818/0.000818, allocations: 96.31 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 8.844 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2359, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.878/2.114, allocations: 0.6899 GB / 1.913 GB, free: 320 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/2.114, allocations: 75.91 kB / 1.913 GB, free: 320 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.153/2.268, allocations: 64.94 MB / 1.976 GB, free: 311.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/2.268, allocations: 0 / 1.976 GB, free: 311.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.436e-06/2.268, allocations: 7.938 kB / 1.976 GB, free: 311.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.001817/2.269, allocations: 0.4948 MB / 1.977 GB, free: 310.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/2.269, allocations: 11.62 kB / 1.977 GB, free: 310.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/2.27, allocations: 37.81 kB / 1.977 GB, free: 310.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/2.27, allocations: 22.98 kB / 1.977 GB, free: 310.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/2.27, allocations: 170.6 kB / 1.977 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/2.27, allocations: 37.27 kB / 1.977 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/2.27, allocations: 7.75 kB / 1.977 GB, free: 310.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/2.27, allocations: 114 kB / 1.977 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/2.27, allocations: 3.953 kB / 1.977 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/2.271, allocations: 7.344 kB / 1.977 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/2.271, allocations: 0 / 1.977 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/2.271, allocations: 118.4 kB / 1.977 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/2.271, allocations: 327.3 kB / 1.978 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/2.271, allocations: 144.4 kB / 1.978 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/2.282, allocations: 4.161 MB / 1.982 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/2.282, allocations: 34.56 kB / 1.982 GB, free: 308.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/2.282, allocations: 3.906 kB / 1.982 GB, free: 308.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0005307/2.282, allocations: 169.7 kB / 1.982 GB, free: 308.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/2.282, allocations: 51.41 kB / 1.982 GB, free: 308 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/2.282, allocations: 88.31 kB / 1.982 GB, free: 307.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/2.282, allocations: 32.58 kB / 1.982 GB, free: 307.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/2.283, allocations: 80.14 kB / 1.982 GB, free: 307.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/2.283, allocations: 49.05 kB / 1.982 GB, free: 307.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/2.283, allocations: 4 kB / 1.982 GB, free: 307.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/2.283, allocations: 318.5 kB / 1.983 GB, free: 307.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/2.283, allocations: 23.69 kB / 1.983 GB, free: 307.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/2.283, allocations: 23.92 kB / 1.983 GB, free: 307.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/2.283, allocations: 28.88 kB / 1.983 GB, free: 307.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/2.283, allocations: 0 / 1.983 GB, free: 307.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000183/2.283, allocations: 104.1 kB / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/2.283, allocations: 11.73 kB / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/2.283, allocations: 0 / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/2.283, allocations: 7.938 kB / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/2.283, allocations: 19.11 kB / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/2.283, allocations: 3.938 kB / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/2.283, allocations: 11.31 kB / 1.983 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/2.283, allocations: 3.938 kB / 1.983 GB, free: 307.4 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 7.432e-05/2.283, allocations: 113.5 kB / 1.983 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/2.283, allocations: 0 / 1.983 GB, free: 307.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/2.284, allocations: 382.3 kB / 1.983 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/2.284, allocations: 7.594 kB / 1.983 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.284, allocations: 0 / 1.983 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/2.284, allocations: 3.938 kB / 1.983 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/2.284, allocations: 279.5 kB / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/2.284, allocations: 3.594 kB / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/2.284, allocations: 18.55 kB / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/2.284, allocations: 4 kB / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/2.284, allocations: 14.77 kB / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/2.284, allocations: 0 / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/2.284, allocations: 0 / 1.984 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/2.285, allocations: 332.7 kB / 1.984 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/2.285, allocations: 108.2 kB / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/2.285, allocations: 3.953 kB / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/2.285, allocations: 11.31 kB / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/2.285, allocations: 7.578 kB / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/2.285, allocations: 10.31 kB / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.798e-05/2.285, allocations: 78.91 kB / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/2.285, allocations: 0 / 1.984 GB, free: 306.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001791/2.287, allocations: 341.3 kB / 1.984 GB, free: 306.6 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.003224/2.29, allocations: 1.599 MB / 1.986 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002019/2.29, allocations: 132.9 kB / 1.986 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/2.29, allocations: 0 / 1.986 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/2.29, allocations: 104.3 kB / 1.986 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/2.291, allocations: 19.56 kB / 1.986 GB, free: 305.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/2.292, allocations: 0.5052 MB / 1.987 GB, free: 305.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/2.292, allocations: 0.719 MB / 1.987 GB, free: 304.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001108/2.292, allocations: 27.67 kB / 1.988 GB, free: 304.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/2.292, allocations: 44.64 kB / 1.988 GB, free: 304.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/2.292, allocations: 0 / 1.988 GB, free: 304.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/2.328, allocations: 18.9 MB / 2.006 GB, free: 303.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/2.329, allocations: 179.3 kB / 2.006 GB, free: 303 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/4.522, allocations: 0 / 2.006 GB, free: 303 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat does not exist to compare? outputFormat=mat