Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.568/2.568, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001234/0.001234, allocations: 183.9 kB / 0.4901 GB, free: 2.23 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.58/1.58, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0009726/0.0009721, allocations: 94.56 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 10.69 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3395, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.5497, allocations: 150.5 MB / 1.376 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5501, allocations: 71.97 kB / 1.376 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003252/0.5534, allocations: 0.9848 MB / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5534, allocations: 0 / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5534, allocations: 0 / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004789/0.5539, allocations: 355.3 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.554, allocations: 8.031 kB / 1.378 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.5541, allocations: 34.56 kB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.5542, allocations: 7.906 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5543, allocations: 171 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5544, allocations: 7.938 kB / 1.378 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.5544, allocations: 0 / 1.378 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.5546, allocations: 61.61 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5546, allocations: 0 / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5546, allocations: 0 / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5547, allocations: 0 / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.5548, allocations: 43.95 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.5553, allocations: 248.9 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.5554, allocations: 50.53 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.5555, allocations: 0 / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5555, allocations: 34.56 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5555, allocations: 0 / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004092/0.5559, allocations: 97.8 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.556, allocations: 55.44 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.5561, allocations: 92.95 kB / 1.378 GB, free: 456 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5561, allocations: 25.7 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.5562, allocations: 88.12 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.5562, allocations: 3.906 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5562, allocations: 3.938 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5564, allocations: 314.8 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.5565, allocations: 24.06 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.5566, allocations: 23.97 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.5567, allocations: 19.98 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5567, allocations: 4.062 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000231/0.5569, allocations: 73.61 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.557, allocations: 11.98 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.557, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.557, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.5571, allocations: 12.03 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.5571, allocations: 0 / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.5572, allocations: 15.89 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5572, allocations: 3.953 kB / 1.379 GB, free: 15.8 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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 0.0001137/0.5573, allocations: 114.6 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.5574, allocations: 8 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.5577, allocations: 88.77 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5577, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5577, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5577, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.5579, allocations: 165.6 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5579, allocations: 4 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.371e-05/0.558, allocations: 11.98 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.558, allocations: 0 / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.558, allocations: 7.938 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.558, allocations: 0 / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.558, allocations: 240 / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.5583, allocations: 189.2 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.5584, allocations: 81.02 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.5584, allocations: 0 / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.5585, allocations: 11.98 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.5585, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5585, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.5586, allocations: 83.27 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5586, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002169/0.5588, allocations: 4 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000604/0.5594, allocations: 0.7163 MB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5597, allocations: 47.95 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5597, allocations: 0 / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.5598, allocations: 23.98 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.56, allocations: 4.859 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.5605, allocations: 169.8 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.5608, allocations: 0.6849 MB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.5609, allocations: 0 / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.5609, allocations: 19.42 kB / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.5609, allocations: 0 / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.5746, allocations: 1.08 MB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.5748, allocations: 203.2 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.196, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat