Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_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.00112/0.00112, 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.001158/0.001158, allocations: 196.7 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5927, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002074/0.5948, allocations: 1.282 MB / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008006/0.5956, allocations: 0.5609 MB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.5956, allocations: 0 / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.5957, allocations: 5.531 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.5957, allocations: 7.922 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.5961, allocations: 96.78 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.5961, allocations: 16.97 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.5962, allocations: 1.438 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.5962, allocations: 12.11 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.5963, allocations: 14.53 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.5963, allocations: 1.438 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.5966, allocations: 142 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.5966, allocations: 4 kB / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.5966, allocations: 8.812 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.5968, allocations: 88.48 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5968, allocations: 1.531 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5968, allocations: 0 / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.5968, allocations: 0 / 0.9519 GB, free: 7.48 MB / 0.7169 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.0003117/0.5972, allocations: 349 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.5972, allocations: 12.91 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.5972, allocations: 36.08 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.5976, allocations: 28.44 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.5977, allocations: 169.7 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.5977, allocations: 384 / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.5978, allocations: 1.656 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5979, allocations: 53.84 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5979, allocations: 5.188 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5979, allocations: 3.984 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5979, allocations: 0 / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.5981, allocations: 24.25 kB / 0.9526 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.5982, allocations: 162 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.5983, allocations: 40.66 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.5984, allocations: 19.53 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5984, allocations: 0 / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.5985, allocations: 31.75 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.5985, allocations: 0 / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002752/0.5987, allocations: 84.59 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.5988, allocations: 52.72 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.313e-05/0.5988, allocations: 96.75 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.5988, allocations: 27.14 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.152e-05/0.5988, allocations: 84.14 kB / 0.9531 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.5989, allocations: 1.594 kB / 0.9531 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.5989, allocations: 21.11 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.5989, allocations: 310.8 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.599, allocations: 14.27 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.5991, allocations: 14.17 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.5992, allocations: 31.69 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5992, allocations: 3.938 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001592/0.5994, allocations: 62.55 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5994, allocations: 8.75 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5994, allocations: 1.438 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5994, allocations: 3.938 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.5995, allocations: 9.484 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5995, allocations: 4.031 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.5996, allocations: 5.406 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5996, allocations: 5.359 kB / 0.9536 GB, free: 5.68 MB / 0.7169 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 4.203e-05/0.5997, allocations: 107.3 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.5997, allocations: 5.031 kB / 0.9537 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.5997, allocations: 4.562 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5997, allocations: 4 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5997, allocations: 1.125 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5997, allocations: 0 / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.956e-05/0.5998, allocations: 153.5 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5998, allocations: 1.031 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.5999, allocations: 9.078 kB / 0.9539 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5999, allocations: 3.938 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.5999, allocations: 5.297 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5999, allocations: 0 / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5999, allocations: 0 / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.6001, allocations: 88.52 kB / 0.954 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.6001, allocations: 90.47 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.6002, allocations: 5.438 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.6002, allocations: 0.9688 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.6002, allocations: 1.281 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.6003, allocations: 9.359 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.809e-05/0.6003, allocations: 76.72 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6003, allocations: 1.375 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001979/0.6005, allocations: 14.03 kB / 0.9542 GB, free: 5.066 MB / 0.7169 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.0003846/0.6009, allocations: 0.6394 MB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.6011, allocations: 32.59 kB / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6011, allocations: 0 / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.6011, allocations: 16.95 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.6013, allocations: 17.36 kB / 0.9548 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.6017, allocations: 144.5 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.6018, allocations: 0.6764 MB / 0.9556 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.031e-05/0.6019, allocations: 15.33 kB / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.602, allocations: 13.3 kB / 0.9557 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.602, allocations: 0 / 0.9557 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.6182, allocations: 1.546 MB / 0.9572 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.812, allocations: 10.59 kB / 0.9572 GB, free: 2.688 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches