Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.007259/0.007259, allocations: 97.59 kB / 15.73 MB, free: 6 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.001768/0.001769, allocations: 185.9 kB / 16.67 MB, free: 5.93 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.7 MB / 0.7453 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 71.83 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2711, allocations: 159.9 MB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002553/0.2737, allocations: 1.425 MB / 1.227 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.2746, allocations: 0.5882 MB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.2747, allocations: 3.938 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.2748, allocations: 0 / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2748, allocations: 7.938 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.2753, allocations: 103.5 kB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.2754, allocations: 23.92 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.2755, allocations: 7.984 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.2755, allocations: 8 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.2756, allocations: 11.92 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2756, allocations: 0 / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.2759, allocations: 155.7 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.2759, allocations: 4 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.276, allocations: 7.938 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.2762, allocations: 103.7 kB / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2762, allocations: 0 / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2762, allocations: 0 / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2762, allocations: 0 / 1.228 GB, free: 7.238 MB / 0.9825 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.0004722/0.2767, allocations: 355.2 kB / 1.228 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2767, allocations: 11.97 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.2768, allocations: 38.75 kB / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.2772, allocations: 36.84 kB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.2774, allocations: 160.4 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2774, allocations: 384 / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2774, allocations: 384 / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.2776, allocations: 70.14 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2776, allocations: 7.938 kB / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2777, allocations: 0 / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2777, allocations: 0 / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.2779, allocations: 51.94 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.2784, allocations: 280.9 kB / 1.229 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.2786, allocations: 62.41 kB / 1.229 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2787, allocations: 32.89 kB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2788, allocations: 4 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2788, allocations: 34.5 kB / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2788, allocations: 0 / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005061/0.2793, allocations: 117.5 kB / 1.229 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2794, allocations: 59.53 kB / 1.229 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.2794, allocations: 101.8 kB / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2795, allocations: 25.7 kB / 1.229 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.2795, allocations: 84.08 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.2795, allocations: 7.891 kB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.2796, allocations: 21.7 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.2797, allocations: 310.8 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2798, allocations: 31.97 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2799, allocations: 23.97 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.2802, allocations: 60.86 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2802, allocations: 3.938 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003053/0.2805, allocations: 85.64 kB / 1.23 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2805, allocations: 9.719 kB / 1.23 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2806, allocations: 0 / 1.23 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2806, allocations: 0 / 1.23 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2807, allocations: 23.94 kB / 1.23 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2807, allocations: 0 / 1.23 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.899e-05/0.2808, allocations: 7.984 kB / 1.23 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2808, allocations: 4 kB / 1.23 GB, free: 4.922 MB / 0.9825 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 7.259e-05/0.2809, allocations: 110.3 kB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.2809, allocations: 0 / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.281, allocations: 19.06 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.281, allocations: 0 / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.281, allocations: 0 / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.281, allocations: 0 / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2812, allocations: 173.5 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2812, allocations: 0 / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2813, allocations: 11.98 kB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2813, allocations: 0 / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2813, allocations: 4 kB / 1.23 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2813, allocations: 0 / 1.23 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2813, allocations: 4 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.2817, allocations: 195.3 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2817, allocations: 77.11 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2818, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2819, allocations: 12.02 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2819, allocations: 4 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.282, allocations: 7.984 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.282, allocations: 79.28 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.282, allocations: 0 / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002466/0.2822, allocations: 11.94 kB / 1.23 GB, free: 4.133 MB / 0.9825 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.0006325/0.2829, allocations: 0.728 MB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2832, allocations: 59.91 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2832, allocations: 4 kB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.2834, allocations: 31.97 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2837, allocations: 1.547 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.2842, allocations: 164.2 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2844, allocations: 0.6768 MB / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.03e-05/0.2845, allocations: 11.94 kB / 1.232 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.2846, allocations: 15.42 kB / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.2846, allocations: 0 / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.3011, allocations: 1.666 MB / 1.234 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.74, allocations: 10.75 kB / 1.234 GB, free: 0.8164 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.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_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches