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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009047, allocations: 92 kB / 15.06 MB, free: 1.098 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.001071/0.001071, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.62/2.62, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7271, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001402/0.7285, allocations: 0.9996 MB / 0.9821 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.7295, allocations: 0.5371 MB / 0.9826 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.7295, allocations: 0 / 0.9826 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.7296, allocations: 0 / 0.9826 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.7296, allocations: 3.938 kB / 0.9826 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.73, allocations: 87.56 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.7301, allocations: 15.88 kB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.7301, allocations: 3.984 kB / 0.9827 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.7302, allocations: 8 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.7302, allocations: 11.94 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.7303, allocations: 4 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.7306, allocations: 139.8 kB / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.7306, allocations: 3.938 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.7306, allocations: 29.64 kB / 0.9829 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.7308, allocations: 66.17 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7308, allocations: 0 / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7308, allocations: 0 / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7308, allocations: 0 / 0.983 GB, free: 4.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004066/0.7312, allocations: 351.3 kB / 0.9833 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7313, allocations: 12.03 kB / 0.9833 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.7313, allocations: 34.56 kB / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/0.7317, allocations: 27.95 kB / 0.9834 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7319, allocations: 163 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.7319, allocations: 4 kB / 0.9836 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.7319, allocations: 15.94 kB / 0.9836 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.7321, allocations: 45.66 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.7321, allocations: 7.938 kB / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.7321, allocations: 0 / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7321, allocations: 0 / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.7322, allocations: 23.92 kB / 0.9837 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.7324, allocations: 157.7 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.7326, allocations: 38.55 kB / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.7326, allocations: 20.91 kB / 0.9839 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.7327, allocations: 3.953 kB / 0.9839 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.7327, allocations: 34.56 kB / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.7327, allocations: 0 / 0.9839 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002772/0.733, allocations: 73.59 kB / 0.984 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.733, allocations: 51.41 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.7331, allocations: 101.8 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.7331, allocations: 25.7 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.7332, allocations: 84.27 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.7332, allocations: 7.906 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.7332, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7333, allocations: 310.8 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.7334, allocations: 15.98 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.7334, allocations: 7.984 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.7335, allocations: 16.06 kB / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7335, allocations: 0 / 0.9846 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001582/0.7337, allocations: 61.61 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7337, allocations: 15.94 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7337, allocations: 0 / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.7337, allocations: 0 / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.7338, allocations: 4 kB / 0.9846 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.7338, allocations: 4.016 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.7339, allocations: 11.91 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7339, allocations: 3.938 kB / 0.9847 GB, free: 2.395 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 6.951e-05/0.734, allocations: 105.8 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.734, allocations: 4 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.7341, allocations: 7.078 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7341, allocations: 0 / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.7341, allocations: 7.984 kB / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.7341, allocations: 0 / 0.9848 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.7342, allocations: 153.7 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7342, allocations: 3.938 kB / 0.9849 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.7343, allocations: 11.98 kB / 0.9849 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7343, allocations: 0 / 0.9849 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.7343, allocations: 3.953 kB / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7343, allocations: 3.938 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7343, allocations: 0 / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.7345, allocations: 85.11 kB / 0.985 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.7346, allocations: 85.09 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7347, allocations: 0 / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.7347, allocations: 11.94 kB / 0.9851 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.7347, allocations: 0 / 0.9851 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.7348, allocations: 4 kB / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.7348, allocations: 87.48 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7348, allocations: 0 / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002111/0.735, allocations: 12 kB / 0.9852 GB, free: 1.727 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.0005299/0.7356, allocations: 0.6436 MB / 0.9858 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.7357, allocations: 23.98 kB / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7358, allocations: 0 / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.89e-05/0.7358, allocations: 19.97 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.7361, allocations: 16.06 kB / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.7365, allocations: 154.4 kB / 0.986 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.7369, allocations: 0.677 MB / 0.9867 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.382e-05/0.737, allocations: 15.88 kB / 0.9867 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.737, allocations: 15.44 kB / 0.9867 GB, free: 72 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.737, allocations: 0 / 0.9867 GB, free: 72 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.7528, allocations: 1.352 MB / 0.9881 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.7532, allocations: 213 kB / 0.9883 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.608, allocations: 12.38 kB / 0.9883 GB, free: 14.66 MB / 0.7481 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) Environment - environmentSimulation: 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