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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007878/0.007878, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001845/0.001845, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.84 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7986, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002326/0.8009, allocations: 1.298 MB / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.8019, allocations: 0.5725 MB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.8019, allocations: 0 / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.802, allocations: 0 / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.802, allocations: 3.938 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.8024, allocations: 95.55 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.8025, allocations: 23.81 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.8025, allocations: 7.984 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.8026, allocations: 4 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.8026, allocations: 4 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.8026, allocations: 4 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.8029, allocations: 147.7 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.803, allocations: 3.938 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.803, allocations: 4 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.8032, allocations: 94.52 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8032, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8032, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8032, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 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.0003814/0.8036, allocations: 348.2 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8037, allocations: 12.62 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.8037, allocations: 34.75 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.8042, allocations: 24.91 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.8043, allocations: 168.3 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.8043, allocations: 4.312 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.8043, allocations: 4.375 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.8045, allocations: 50.23 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8045, allocations: 3.938 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8045, allocations: 4 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8045, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.8047, allocations: 23.97 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.8048, allocations: 153.7 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.805, allocations: 46.48 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.8051, allocations: 20.91 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.8051, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.8051, allocations: 30.56 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.8051, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003115/0.8055, allocations: 81.53 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.8055, allocations: 55.34 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.8056, allocations: 97.86 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.8056, allocations: 25.7 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.8056, allocations: 84.12 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.8057, allocations: 7.953 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.8057, allocations: 25.77 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.8058, allocations: 314.8 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.8059, allocations: 7.984 kB / 1.223 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.806, allocations: 15.98 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.8061, allocations: 28.91 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8061, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.8063, allocations: 61.67 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8064, allocations: 9.656 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8064, allocations: 3.984 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8064, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8065, allocations: 4 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.8065, allocations: 7.938 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.8066, allocations: 8.016 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.8066, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 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.516e-05/0.8067, allocations: 109.8 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.8067, allocations: 7.891 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.8068, allocations: 7.125 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8068, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8068, allocations: 8 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8068, allocations: 4.172 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.8069, allocations: 153.7 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8069, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.807, allocations: 11.97 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.807, allocations: 3.938 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.807, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.807, allocations: 3.984 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.807, allocations: 4 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.8073, allocations: 85.05 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.8073, allocations: 85.09 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8074, allocations: 11.88 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.8074, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.8075, allocations: 7.984 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.8075, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.8075, allocations: 79.31 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8075, allocations: 7.938 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002136/0.8077, allocations: 11.94 kB / 1.224 GB, free: 13.34 MB / 0.9512 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.0005544/0.8083, allocations: 0.6436 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.8085, allocations: 27.92 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8085, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.8086, allocations: 19.97 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.8089, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.8094, allocations: 152.2 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.8097, allocations: 0.6768 MB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.511e-05/0.8098, allocations: 4 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.8099, allocations: 11.44 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.8099, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.8274, allocations: 1.58 MB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.652, allocations: 9.75 kB / 1.227 GB, free: 10.27 MB / 0.9512 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