Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_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.001128/0.001128, 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.001169/0.001169, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 69.72 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 159.2 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002637/0.3145, allocations: 1.282 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.4738, allocations: 147.6 MB / 1.209 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.4739, allocations: 0 / 1.209 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.4739, allocations: 0 / 1.209 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.474, allocations: 11.92 kB / 1.209 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.4744, allocations: 115.4 kB / 1.209 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.4745, allocations: 19.92 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.4745, allocations: 4 kB / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.4746, allocations: 11.88 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.4746, allocations: 11.98 kB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.4746, allocations: 0 / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.4751, allocations: 171.7 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.4751, allocations: 3.938 kB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.4751, allocations: 11.98 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.4753, allocations: 100.1 kB / 1.21 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4753, allocations: 0 / 1.21 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4753, allocations: 0 / 1.21 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4754, allocations: 4 kB / 1.21 GB, free: 8.527 MB / 0.9669 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.0003096/0.4757, allocations: 355.4 kB / 1.21 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4757, allocations: 12.03 kB / 1.21 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.4758, allocations: 30.75 kB / 1.21 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.4763, allocations: 36.8 kB / 1.21 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4765, allocations: 168.1 kB / 1.21 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4765, allocations: 11.94 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4765, allocations: 4 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4767, allocations: 49.66 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.4767, allocations: 3.938 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.4767, allocations: 0 / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4767, allocations: 0 / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.4768, allocations: 19.97 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.4772, allocations: 252.9 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.4773, allocations: 30.45 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.4773, allocations: 8.859 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.4773, allocations: 4.062 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4773, allocations: 38.55 kB / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4773, allocations: 0 / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.4775, allocations: 37.7 kB / 1.211 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.4775, allocations: 55.41 kB / 1.211 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4777, allocations: 113.7 kB / 1.211 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.4777, allocations: 25.7 kB / 1.211 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.4777, allocations: 88.03 kB / 1.211 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.4777, allocations: 12.03 kB / 1.211 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.4778, allocations: 21.7 kB / 1.211 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.4779, allocations: 310.8 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.478, allocations: 11.98 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.478, allocations: 11.98 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.4781, allocations: 17.14 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4781, allocations: 4 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001939/0.4783, allocations: 65.64 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4783, allocations: 4 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4784, allocations: 0 / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.4784, allocations: 3.938 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4785, allocations: 11.98 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4785, allocations: 0 / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4787, allocations: 15.92 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4787, allocations: 4 kB / 1.211 GB, free: 6.492 MB / 0.9669 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.842e-05/0.4787, allocations: 105.8 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.4788, allocations: 0 / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.4788, allocations: 11.12 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4788, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4788, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4788, allocations: 3.938 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.479, allocations: 157.6 kB / 1.212 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.479, allocations: 4 kB / 1.212 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.479, allocations: 7.984 kB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.479, allocations: 0 / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.479, allocations: 0 / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.479, allocations: 0 / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.479, allocations: 0 / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4792, allocations: 143.3 kB / 1.212 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.4792, allocations: 85.03 kB / 1.212 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4792, allocations: 8.031 kB / 1.212 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4793, allocations: 4 kB / 1.212 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.4794, allocations: 7.875 kB / 1.212 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.4794, allocations: 0 / 1.212 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.4795, allocations: 91.27 kB / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4795, allocations: 0 / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002498/0.4797, allocations: 16 kB / 1.212 GB, free: 5.77 MB / 0.9669 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.0004253/0.4802, allocations: 0.6818 MB / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4803, allocations: 19.92 kB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4803, allocations: 0 / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.4803, allocations: 12.03 kB / 1.213 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4807, allocations: 15.12 kB / 1.213 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.4811, allocations: 152.8 kB / 1.213 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.4813, allocations: 0.6768 MB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.831e-05/0.4814, allocations: 8.062 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4815, allocations: 11.42 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.4815, allocations: 0 / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.5069, allocations: 1.573 MB / 1.215 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/9.193, allocations: 14.27 kB / 1.215 GB, free: 2.645 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches