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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 192.9 kB / 16.53 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 469.4 MB / 0.742 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 73.72 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2713, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002577/0.2739, allocations: 1.277 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2749, allocations: 0.5702 MB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.2749, allocations: 4 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.275, allocations: 3.984 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.275, allocations: 11.92 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.2754, allocations: 91.58 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.2755, allocations: 23.8 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.2756, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.2756, allocations: 7.984 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.2756, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2757, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.276, allocations: 135.8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.276, allocations: 7.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.276, allocations: 7.984 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.2762, allocations: 99.98 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2762, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2762, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2763, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 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.0003659/0.2766, allocations: 343.5 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2767, allocations: 8.031 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.2767, allocations: 34.75 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.2771, allocations: 28.89 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2773, allocations: 168.3 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2773, allocations: 8.375 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2773, allocations: 384 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.2775, allocations: 50.22 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2775, allocations: 7.875 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2775, allocations: 7.984 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2775, allocations: 0 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2777, allocations: 15.98 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.2778, allocations: 157.7 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.278, allocations: 46.58 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.2781, allocations: 16.91 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2781, allocations: 3.938 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2781, allocations: 34.56 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2782, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003111/0.2785, allocations: 81.53 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2785, allocations: 51.41 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/0.2786, allocations: 93.86 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.2786, allocations: 29.69 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.2786, allocations: 84.14 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.2787, allocations: 3.906 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.2787, allocations: 17.84 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2788, allocations: 322.8 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.2789, allocations: 12 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.279, allocations: 7.984 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.2791, allocations: 40.84 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2791, allocations: 3.984 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001767/0.2793, allocations: 53.67 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2793, allocations: 7.938 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2794, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2794, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2795, allocations: 7.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2795, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.2796, allocations: 11.97 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.2796, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 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 6.854e-05/0.2796, allocations: 110.4 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.2797, allocations: 7.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.2797, allocations: 7.109 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2797, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2797, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2797, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2799, allocations: 157.6 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2799, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.28, allocations: 11.92 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.28, allocations: 7.938 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.28, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.28, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.28, allocations: 3.938 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.2802, allocations: 89.09 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.2803, allocations: 77.11 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2803, allocations: 7.938 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.2804, allocations: 11.98 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.2804, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2804, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.2804, allocations: 83.31 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2805, allocations: 0 / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002096/0.2807, allocations: 12 kB / 1.068 GB, free: 9.633 MB / 0.8262 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.0005255/0.2812, allocations: 0.6397 MB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.2814, allocations: 31.97 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2814, allocations: 3.938 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.2815, allocations: 15.92 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2817, allocations: 8 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.2822, allocations: 148.3 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2825, allocations: 0.6771 MB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.575e-05/0.2826, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.2826, allocations: 15.44 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2826, allocations: 4 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.3, allocations: 1.56 MB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.69, allocations: 11.92 kB / 1.071 GB, free: 6.547 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches