Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.00204, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.508/2.508, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.495/4.495, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000841/0.0008414, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869/1.87, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002778/1.873, allocations: 1.122 MB / 0.982 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001578/1.874, allocations: 0.5334 MB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/1.874, allocations: 0 / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/1.875, allocations: 0 / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/1.875, allocations: 7.984 kB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/1.875, allocations: 83.73 kB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/1.875, allocations: 19.91 kB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/1.876, allocations: 8 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/1.876, allocations: 4 kB / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/1.876, allocations: 15.91 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/1.876, allocations: 0 / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/1.876, allocations: 151.8 kB / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/1.876, allocations: 11.94 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/1.876, allocations: 25.7 kB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/1.877, allocations: 78.09 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.877, allocations: 0 / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.962e-06/1.877, allocations: 0 / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.877, allocations: 0 / 0.9829 GB, free: 4.219 MB / 0.7325 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.0007937/1.878, allocations: 359.1 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.153e-05/1.878, allocations: 16.03 kB / 0.9832 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.457e-05/1.878, allocations: 34.55 kB / 0.9833 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007429/1.878, allocations: 27.97 kB / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/1.879, allocations: 159.1 kB / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.879, allocations: 0 / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/1.879, allocations: 7.953 kB / 0.9834 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/1.879, allocations: 73.58 kB / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.879, allocations: 0 / 0.9835 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/1.879, allocations: 3.984 kB / 0.9835 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.879, allocations: 0 / 0.9835 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/1.88, allocations: 67.94 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/1.881, allocations: 268.8 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/1.881, allocations: 70.52 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/1.881, allocations: 3.938 kB / 0.9839 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.881, allocations: 34.62 kB / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/1.881, allocations: 0 / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0008759/1.882, allocations: 129.6 kB / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/1.882, allocations: 59.53 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.882, allocations: 93.86 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/1.882, allocations: 29.7 kB / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/1.882, allocations: 80.14 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/1.882, allocations: 11.83 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/1.882, allocations: 4 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.883, allocations: 314.8 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/1.883, allocations: 35.91 kB / 0.9847 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/1.883, allocations: 31.97 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/1.883, allocations: 39.98 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.883, allocations: 0 / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004931/1.884, allocations: 93.64 kB / 0.9848 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.884, allocations: 8 kB / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/1.884, allocations: 0 / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.884, allocations: 0 / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/1.884, allocations: 19.97 kB / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.884, allocations: 0 / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.884, allocations: 12 kB / 0.9849 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/1.884, allocations: 8.016 kB / 0.9849 GB, free: 1.941 MB / 0.7325 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.0001474/1.884, allocations: 113.8 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/1.885, allocations: 4 kB / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/1.885, allocations: 7.062 kB / 0.985 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/1.885, allocations: 0 / 0.985 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.885, allocations: 3.938 kB / 0.985 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.885, allocations: 0 / 0.985 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/1.885, allocations: 177.5 kB / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.885, allocations: 0 / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/1.885, allocations: 15.97 kB / 0.9852 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.885, allocations: 4 kB / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.885, allocations: 0 / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.885, allocations: 0 / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.885, allocations: 0 / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/1.886, allocations: 195.5 kB / 0.9854 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/1.886, allocations: 85 kB / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/1.886, allocations: 0 / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/1.886, allocations: 16.02 kB / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/1.886, allocations: 0 / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.886, allocations: 7.984 kB / 0.9855 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.787e-05/1.886, allocations: 75.28 kB / 0.9855 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.525e-06/1.886, allocations: 7.938 kB / 0.9855 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004948/1.887, allocations: 15.94 kB / 0.9856 GB, free: 1.137 MB / 0.7325 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.001126/1.888, allocations: 0.7437 MB / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005264/1.888, allocations: 63.94 kB / 0.9864 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.889, allocations: 4.062 kB / 0.9864 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/1.889, allocations: 35.91 kB / 0.9864 GB, free: 272 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/1.889, allocations: 4 kB / 0.9864 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/1.89, allocations: 174.3 kB / 0.9866 GB, free: 52 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/1.891, allocations: 0.677 MB / 0.9872 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001708/1.891, allocations: 11.94 kB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/1.891, allocations: 11.42 kB / 0.9872 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of SimCode: time 6.62e-07/1.891, allocations: 0 / 0.9872 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/1.925, allocations: 1.39 MB / 0.9886 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004632/1.926, allocations: 207.7 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/5.213, allocations: 0 / 0.9888 GB, free: 13.86 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat does not exist to compare? outputFormat=mat