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.354/2.354, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001088/0.001088, allocations: 173 kB / 492.3 MB, free: 0.6094 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.49/1.49, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008814/0.0008814, allocations: 99.34 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.35e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2664, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.293/2.559, allocations: 0.6898 GB / 1.902 GB, free: 272.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/2.559, allocations: 72.47 kB / 1.902 GB, free: 272.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1515/2.711, allocations: 64.79 MB / 1.966 GB, free: 215 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.344e-06/2.711, allocations: 0 / 1.966 GB, free: 215 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.875e-06/2.711, allocations: 3.938 kB / 1.966 GB, free: 215 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.001645/2.713, allocations: 0.4896 MB / 1.966 GB, free: 214.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/2.713, allocations: 8.031 kB / 1.966 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/2.713, allocations: 49.94 kB / 1.966 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/2.713, allocations: 19.98 kB / 1.966 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/2.713, allocations: 174.9 kB / 1.966 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/2.713, allocations: 33.2 kB / 1.966 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/2.713, allocations: 4 kB / 1.966 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/2.714, allocations: 119.8 kB / 1.967 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/2.714, allocations: 0 / 1.967 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/2.714, allocations: 11.45 kB / 1.967 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/2.714, allocations: 0 / 1.967 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/2.714, allocations: 122 kB / 1.967 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/2.714, allocations: 333.5 kB / 1.967 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/2.715, allocations: 128.9 kB / 1.967 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/2.715, allocations: 52.61 kB / 1.967 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/2.727, allocations: 4.187 MB / 1.971 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/2.728, allocations: 36.61 kB / 1.971 GB, free: 208.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/2.728, allocations: 0 / 1.971 GB, free: 208.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.0007054/2.728, allocations: 136.4 kB / 1.971 GB, free: 208.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/2.728, allocations: 59.41 kB / 1.971 GB, free: 208.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/2.728, allocations: 92.5 kB / 1.972 GB, free: 208.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/2.728, allocations: 25.7 kB / 1.972 GB, free: 208.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/2.729, allocations: 83.2 kB / 1.972 GB, free: 208.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/2.729, allocations: 45.75 kB / 1.972 GB, free: 208.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/2.729, allocations: 0 / 1.972 GB, free: 208.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/2.729, allocations: 318.2 kB / 1.972 GB, free: 208.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/2.729, allocations: 22.38 kB / 1.972 GB, free: 208.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/2.729, allocations: 30.62 kB / 1.972 GB, free: 208.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/2.729, allocations: 30.73 kB / 1.972 GB, free: 208.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.729, allocations: 0 / 1.972 GB, free: 208.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002223/2.729, allocations: 106.6 kB / 1.972 GB, free: 208.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/2.729, allocations: 9.047 kB / 1.972 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/2.729, allocations: 0 / 1.972 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/2.729, allocations: 7.938 kB / 1.972 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/2.729, allocations: 23.17 kB / 1.972 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/2.729, allocations: 0 / 1.972 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/2.729, allocations: 7.875 kB / 1.972 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/2.729, allocations: 7.984 kB / 1.972 GB, free: 208 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 7.204e-05/2.73, allocations: 113.5 kB / 1.972 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/2.73, allocations: 10.97 kB / 1.972 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/2.73, allocations: 362.5 kB / 1.973 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/2.73, allocations: 15.11 kB / 1.973 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/2.73, allocations: 0 / 1.973 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/2.73, allocations: 0 / 1.973 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/2.73, allocations: 282.3 kB / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/2.73, allocations: 7.938 kB / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/2.731, allocations: 23.92 kB / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/2.731, allocations: 0 / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/2.731, allocations: 2.875 kB / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/2.731, allocations: 7.953 kB / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/2.731, allocations: 0 / 1.973 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/2.731, allocations: 325.4 kB / 1.973 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/2.731, allocations: 95.94 kB / 1.973 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/2.731, allocations: 7.984 kB / 1.973 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/2.731, allocations: 15.33 kB / 1.973 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/2.731, allocations: 7.984 kB / 1.973 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/2.731, allocations: 7.875 kB / 1.973 GB, free: 206.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.559e-05/2.731, allocations: 83.27 kB / 1.974 GB, free: 206.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.31e-07/2.731, allocations: 0 / 1.974 GB, free: 206.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002293/2.734, allocations: 348.2 kB / 1.974 GB, free: 206.5 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.004023/2.738, allocations: 1.587 MB / 1.975 GB, free: 205 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002142/2.738, allocations: 123.1 kB / 1.976 GB, free: 204.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.738, allocations: 3.938 kB / 1.976 GB, free: 204.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/2.738, allocations: 104.4 kB / 1.976 GB, free: 204.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/2.738, allocations: 25.22 kB / 1.976 GB, free: 204.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/2.74, allocations: 351 kB / 1.976 GB, free: 204.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/2.74, allocations: 0.7208 MB / 1.977 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000122/2.74, allocations: 28.34 kB / 1.977 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/2.74, allocations: 39.3 kB / 1.977 GB, free: 203.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/2.74, allocations: 0 / 1.977 GB, free: 203.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/2.783, allocations: 21.01 MB / 1.997 GB, free: 182.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/2.783, allocations: 171.5 kB / 1.997 GB, free: 182.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/4.985, allocations: 0 / 1.997 GB, free: 182.5 MB / 1.151 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