Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_10_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.00119/0.00119, 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.001129/0.001129, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.572/2.572, allocations: 437.1 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.88 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5416, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002688/0.5443, allocations: 1.285 MB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.5453, allocations: 0.5616 MB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.5454, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.5454, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.5455, allocations: 11.91 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.5459, allocations: 99.58 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.546, allocations: 23.8 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.546, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.5461, allocations: 4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.5461, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.5461, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.5464, allocations: 147.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.5465, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.5465, allocations: 8 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.5467, allocations: 102 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5467, allocations: 0 / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5467, allocations: 0 / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5468, allocations: 0 / 1.02 GB, free: 220 kB / 0.7637 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.000405/0.5472, allocations: 343.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5472, allocations: 12.03 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.5473, allocations: 30.75 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.5477, allocations: 28.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.5479, allocations: 168.3 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5479, allocations: 4.375 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5479, allocations: 4.375 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.5481, allocations: 42.23 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5481, allocations: 3.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.5481, allocations: 3.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5481, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5483, allocations: 27.97 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.5484, allocations: 157.6 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.5486, allocations: 42.58 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.5487, allocations: 20.91 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.5487, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5487, allocations: 34.56 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/0.5487, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003132/0.5491, allocations: 81.38 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5491, allocations: 59.53 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.5492, allocations: 89.86 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.5492, allocations: 29.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.5492, allocations: 80.14 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.5493, allocations: 11.89 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5493, allocations: 13.72 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.5494, allocations: 310.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.5495, allocations: 19.98 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.5496, allocations: 7.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.5497, allocations: 32.78 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5497, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.5499, allocations: 61.73 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5499, allocations: 11.92 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5499, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.55, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5501, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5501, allocations: 3.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.5501, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.5502, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 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.312e-05/0.5502, allocations: 115.4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.5503, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.5503, allocations: 7.312 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5503, allocations: 3.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5503, allocations: 3.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5503, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.5504, allocations: 153.7 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5504, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.5505, allocations: 15.92 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5505, allocations: 3.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.5506, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5506, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5506, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.5508, allocations: 85.05 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.5508, allocations: 89.03 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5509, allocations: 7.875 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.5509, allocations: 7.984 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.551, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.551, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.551, allocations: 79.28 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.551, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000203/0.5512, allocations: 16 kB / 1.022 GB, free: 13.57 MB / 0.7794 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.0004823/0.5517, allocations: 0.6418 MB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.5519, allocations: 36 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5519, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.552, allocations: 15.92 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.5522, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.5527, allocations: 148.5 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.5528, allocations: 0.6768 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.805e-05/0.5529, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.553, allocations: 19.38 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.553, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.5698, allocations: 1.56 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.642, allocations: 12 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches