Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.368/2.368, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001107/0.001107, allocations: 175.2 kB / 0.4901 GB, free: 2.227 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.808/1.808, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009355/0.0009357, allocations: 114 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 10.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.4808, allocations: 151.3 MB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.4812, allocations: 91.94 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009875/0.4911, allocations: 2.898 MB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4911, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4911, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004682/0.4916, allocations: 352.3 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.4917, allocations: 12.56 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.4917, allocations: 34.55 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.4921, allocations: 27.92 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4923, allocations: 174.9 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4923, allocations: 0 / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.4924, allocations: 11.91 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.4926, allocations: 53.66 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4926, allocations: 3.984 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4926, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4926, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.4928, allocations: 31.97 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.4931, allocations: 161.6 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.4934, allocations: 66.52 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4935, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4935, allocations: 38.56 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4935, allocations: 0 / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.004175/0.4977, allocations: 0.5761 MB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4978, allocations: 55.41 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.4979, allocations: 89 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.4979, allocations: 29.7 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.4979, allocations: 84.08 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.498, allocations: 23.64 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.498, allocations: 4 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4982, allocations: 314.8 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4984, allocations: 44.16 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4985, allocations: 35.97 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.4987, allocations: 44.09 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4987, allocations: 0 / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003799/0.4991, allocations: 125.6 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4991, allocations: 7.938 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4991, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4991, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4994, allocations: 31.95 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.4994, allocations: 7.875 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.4996, allocations: 8 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4996, allocations: 7.984 kB / 1.382 GB, free: 12.39 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 (7): * Single equations (assignments): 7 * 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.0001238/0.4997, allocations: 117.8 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.4998, allocations: 4 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.4998, allocations: 12.3 kB / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4998, allocations: 0 / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4999, allocations: 0 / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4999, allocations: 7.969 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.5001, allocations: 192.1 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5001, allocations: 0 / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.5003, allocations: 23.97 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5003, allocations: 0 / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.5004, allocations: 3.984 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5004, allocations: 4 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5004, allocations: 4 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.501, allocations: 196.8 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.501, allocations: 81.17 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.5011, allocations: 4.031 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.5013, allocations: 15.98 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.5013, allocations: 0 / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.5013, allocations: 7.984 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.5014, allocations: 75.28 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5014, allocations: 0 / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000267/0.5016, allocations: 44.03 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.001023/0.5027, allocations: 0.7653 MB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.503, allocations: 87.98 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.503, allocations: 0 / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.5032, allocations: 59.95 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.5034, allocations: 4 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.5048, allocations: 0.527 MB / 1.385 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5052, allocations: 0.6848 MB / 1.385 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.5054, allocations: 36.03 kB / 1.385 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.5055, allocations: 23.42 kB / 1.385 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.5055, allocations: 0 / 1.385 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.5208, allocations: 2.256 MB / 1.387 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.5211, allocations: 238 kB / 1.388 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.086, allocations: 0 / 1.388 GB, free: 6.953 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat