Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 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.001156/0.001156, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.343/1.343, 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 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5491, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002368/0.5515, allocations: 1.291 MB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1406/0.6921, allocations: 147.6 MB / 1.163 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.6922, allocations: 0 / 1.163 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.6923, allocations: 3.938 kB / 1.163 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.6923, allocations: 11.91 kB / 1.163 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.6928, allocations: 111.5 kB / 1.163 GB, free: 12.9 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.6928, allocations: 23.86 kB / 1.163 GB, free: 12.88 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.6929, allocations: 8 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.6929, allocations: 7.938 kB / 1.163 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.693, allocations: 0 / 1.163 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.693, allocations: 4 kB / 1.163 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.6934, allocations: 175.7 kB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.6934, allocations: 3.938 kB / 1.163 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.6935, allocations: 8 kB / 1.163 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.6937, allocations: 114 kB / 1.163 GB, free: 12.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.6937, allocations: 3.984 kB / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6937, allocations: 0 / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6937, allocations: 4 kB / 1.163 GB, free: 12.56 MB / 0.92 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.0003089/0.694, allocations: 351.4 kB / 1.164 GB, free: 12.17 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.6941, allocations: 8.031 kB / 1.164 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.6941, allocations: 34.75 kB / 1.164 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.6947, allocations: 36.89 kB / 1.164 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6948, allocations: 168 kB / 1.164 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.6948, allocations: 4 kB / 1.164 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.6948, allocations: 0 / 1.164 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.695, allocations: 49.66 kB / 1.164 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.695, allocations: 3.938 kB / 1.164 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.695, allocations: 4 kB / 1.164 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.695, allocations: 0 / 1.164 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.6952, allocations: 19.91 kB / 1.164 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.6955, allocations: 256.9 kB / 1.164 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.6955, allocations: 18.58 kB / 1.164 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.6956, allocations: 16.89 kB / 1.164 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.6956, allocations: 0 / 1.164 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.6956, allocations: 38.56 kB / 1.164 GB, free: 11.4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.6956, allocations: 4 kB / 1.164 GB, free: 11.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.6958, allocations: 45.58 kB / 1.164 GB, free: 11.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.6958, allocations: 51.41 kB / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.6959, allocations: 117.8 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.696, allocations: 25.7 kB / 1.165 GB, free: 11.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.696, allocations: 84.08 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.696, allocations: 3.906 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.6961, allocations: 25.83 kB / 1.165 GB, free: 11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.6962, allocations: 314.8 kB / 1.165 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.6962, allocations: 7.984 kB / 1.165 GB, free: 10.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.6963, allocations: 15.98 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.6964, allocations: 20.78 kB / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6964, allocations: 0 / 1.165 GB, free: 10.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001855/0.6966, allocations: 65.58 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6966, allocations: 4 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6966, allocations: 0 / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.6966, allocations: 0 / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.6967, allocations: 11.98 kB / 1.165 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.6968, allocations: 0 / 1.165 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.6969, allocations: 19.92 kB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.6969, allocations: 0 / 1.165 GB, free: 10.54 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.343e-05/0.697, allocations: 109.8 kB / 1.165 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.697, allocations: 0 / 1.165 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.6971, allocations: 3.125 kB / 1.165 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6971, allocations: 0 / 1.165 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6971, allocations: 11.92 kB / 1.165 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.6971, allocations: 3.938 kB / 1.165 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6972, allocations: 153.6 kB / 1.165 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6972, allocations: 12 kB / 1.165 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.6973, allocations: 0 / 1.165 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6973, allocations: 0 / 1.165 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.6973, allocations: 4 kB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6973, allocations: 0 / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6973, allocations: 0 / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.179e-05/0.6974, allocations: 135.5 kB / 1.165 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.6974, allocations: 85.02 kB / 1.166 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6975, allocations: 8.031 kB / 1.166 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.6976, allocations: 0 / 1.166 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.6976, allocations: 3.938 kB / 1.166 GB, free: 9.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.6976, allocations: 4 kB / 1.166 GB, free: 9.918 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.602e-05/0.6977, allocations: 91.59 kB / 1.166 GB, free: 9.828 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.372e-06/0.6977, allocations: 0 / 1.166 GB, free: 9.828 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002446/0.6979, allocations: 19.92 kB / 1.166 GB, free: 9.809 MB / 0.92 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.0003912/0.6983, allocations: 0.6812 MB / 1.166 GB, free: 9.102 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.6985, allocations: 20.12 kB / 1.166 GB, free: 9.082 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6985, allocations: 0 / 1.166 GB, free: 9.082 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.6985, allocations: 7.938 kB / 1.166 GB, free: 9.074 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.6989, allocations: 21.73 kB / 1.166 GB, free: 9.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.6993, allocations: 156.7 kB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.6995, allocations: 0.673 MB / 1.167 GB, free: 8.164 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.864e-05/0.6996, allocations: 7.984 kB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.6997, allocations: 15.42 kB / 1.167 GB, free: 8.141 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.6997, allocations: 0 / 1.167 GB, free: 8.141 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.7167, allocations: 1.561 MB / 1.169 GB, free: 6.68 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.809, allocations: 11.95 kB / 1.169 GB, free: 6.668 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches