Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_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.007502/0.007507, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.002034/0.002034, allocations: 192.1 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 72.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2863, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002347/0.2887, allocations: 1.288 MB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.2897, allocations: 0.5665 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.2897, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.2898, allocations: 3.984 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.2898, allocations: 3.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2902, allocations: 95.56 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.2903, allocations: 23.8 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.2903, allocations: 8 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.2903, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.2904, allocations: 7.984 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2904, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.2907, allocations: 139.8 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2907, allocations: 11.86 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.2908, allocations: 8 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.291, allocations: 91.66 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.291, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.291, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.291, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 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.000426/0.2914, allocations: 351.3 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2915, allocations: 8.031 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.2915, allocations: 34.75 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.2919, allocations: 28.89 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2921, allocations: 172.3 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.2921, allocations: 384 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2921, allocations: 8.375 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2923, allocations: 50.16 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2923, allocations: 3.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2923, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2923, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.2925, allocations: 19.98 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.2927, allocations: 161.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.2928, allocations: 42.59 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.2929, allocations: 16.91 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2929, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.293, allocations: 46.44 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.293, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003111/0.2933, allocations: 73.59 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2934, allocations: 51.41 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.2934, allocations: 97.84 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2935, allocations: 25.7 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.2935, allocations: 84.27 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.2935, allocations: 11.94 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2936, allocations: 17.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2937, allocations: 310.8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.2938, allocations: 15.98 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.2939, allocations: 8 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.294, allocations: 40.83 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.294, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.2942, allocations: 53.67 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2942, allocations: 11.94 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.2943, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2943, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.2944, allocations: 12.02 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2944, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.2944, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2945, allocations: 3.938 kB / 1.224 GB, free: 10.11 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/0.2946, allocations: 114.4 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.2946, allocations: 11.89 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.2946, allocations: 7.125 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2946, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2946, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2946, allocations: 4.125 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.2948, allocations: 157.7 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2948, allocations: 4 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.2949, allocations: 11.97 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2949, allocations: 3.938 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2949, allocations: 0 / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2949, allocations: 4 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.2949, allocations: 4 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2951, allocations: 89.03 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.2952, allocations: 81.09 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.2952, allocations: 7.938 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.2953, allocations: 0 / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.2953, allocations: 4.031 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2953, allocations: 8 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.2954, allocations: 79.27 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2954, allocations: 0 / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002068/0.2956, allocations: 15.94 kB / 1.225 GB, free: 9.418 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005658/0.2962, allocations: 0.6357 MB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.2964, allocations: 27.97 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2964, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.2965, allocations: 24.02 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2967, allocations: 5.5 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.2971, allocations: 148.1 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2975, allocations: 0.6729 MB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.68e-05/0.2975, allocations: 16 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.2976, allocations: 15.42 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2976, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3188, allocations: 1.58 MB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.052, allocations: 6.75 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches