Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.546/2.546, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001569/0.001569, allocations: 198.8 kB / 0.4902 GB, free: 2.238 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.668/1.668, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009488/0.0009488, allocations: 96.33 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 10.88 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.5375, allocations: 151 MB / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.5379, allocations: 79.94 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006155/0.544, allocations: 1.804 MB / 1.379 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5441, allocations: 0 / 1.379 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5441, allocations: 4 kB / 1.379 GB, free: 0.5078 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003814/0.5445, allocations: 347.4 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.5446, allocations: 8.031 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.5446, allocations: 34.56 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/0.5451, allocations: 23.92 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.5453, allocations: 178.9 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5453, allocations: 0 / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.5453, allocations: 0 / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.5455, allocations: 49.67 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5455, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5456, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5456, allocations: 0 / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.5457, allocations: 23.97 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.5459, allocations: 165.5 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.5461, allocations: 54.52 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5462, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.5462, allocations: 30.56 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5462, allocations: 0 / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000331/0.5465, allocations: 73.72 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.5466, allocations: 51.41 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.5467, allocations: 96.97 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5467, allocations: 25.7 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.5468, allocations: 84.14 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.5468, allocations: 3.906 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.5468, allocations: 0 / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.547, allocations: 328.6 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.5471, allocations: 11.98 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.5471, allocations: 11.98 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.456e-05/0.5472, allocations: 8 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5472, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.5474, allocations: 65.72 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5474, allocations: 4 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5474, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5475, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.5476, allocations: 11.98 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.5476, allocations: 3.938 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.5477, allocations: 0 / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.5477, allocations: 7.984 kB / 1.38 GB, free: 14.62 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 9.875e-05/0.5478, allocations: 118.6 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.5478, allocations: 3.938 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.5479, allocations: 7.109 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5479, allocations: 4 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5479, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5479, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.548, allocations: 161.6 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.548, allocations: 0 / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.5481, allocations: 11.98 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5481, allocations: 0 / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5481, allocations: 7.938 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5482, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5482, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.5484, allocations: 89.05 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.5485, allocations: 85.02 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5485, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.5486, allocations: 3.984 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.5486, allocations: 8 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.5486, allocations: 4 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.5486, allocations: 83.22 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5486, allocations: 0 / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002372/0.5489, allocations: 19.98 kB / 1.381 GB, free: 13.93 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 (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 Backend phase and start with SimCode phase: time 0.0006321/0.5495, allocations: 0.6358 MB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.5497, allocations: 32 kB / 1.381 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5497, allocations: 0 / 1.381 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.5498, allocations: 19.92 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.55, allocations: 4 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.5505, allocations: 158.4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5508, allocations: 0.677 MB / 1.382 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.554e-05/0.5509, allocations: 11.94 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.5509, allocations: 15.38 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.5509, allocations: 0 / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.5685, allocations: 1.337 MB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004212/0.569, allocations: 220.7 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.175, allocations: 4.062 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat