Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_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.001296/0.001296, 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.001361/0.001361, allocations: 195.2 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.316/1.316, 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.502/2.502, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5427, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002251/0.5449, allocations: 1.4 MB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.5458, allocations: 0.5889 MB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.5458, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.5459, allocations: 3.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.5459, allocations: 7.922 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.5462, allocations: 95.58 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.5463, allocations: 31.86 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.5464, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.5464, allocations: 11.98 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.5465, allocations: 19.91 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.5465, allocations: 0 / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.5467, allocations: 139.8 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.5468, allocations: 7.922 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.5468, allocations: 11.94 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.547, allocations: 102.1 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.547, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.353e-06/0.547, allocations: 4 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.547, allocations: 0 / 1.02 GB, free: 32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004068/0.5474, allocations: 367.3 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.5474, allocations: 8.031 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.5475, allocations: 30.75 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.5479, allocations: 28.89 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.548, allocations: 176.3 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.548, allocations: 384 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.548, allocations: 4.375 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.5482, allocations: 70.14 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5483, allocations: 3.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5483, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5483, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.5485, allocations: 55.94 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.549, allocations: 264.9 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.5492, allocations: 62.48 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.5493, allocations: 32.83 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.5494, allocations: 7.984 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.5494, allocations: 30.56 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5494, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004955/0.5499, allocations: 109.6 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.5499, allocations: 51.41 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.55, allocations: 105.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.55, allocations: 29.77 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.55, allocations: 84.14 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.5501, allocations: 7.906 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.5501, allocations: 21.64 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.5502, allocations: 310.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5503, allocations: 31.91 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5505, allocations: 27.97 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.5507, allocations: 56.81 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5507, allocations: 3.938 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003074/0.5511, allocations: 93.59 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5511, allocations: 8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5511, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.5511, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5512, allocations: 11.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5513, allocations: 3.984 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.5514, allocations: 7.984 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.5514, allocations: 7.969 kB / 1.022 GB, free: 13.72 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 6.309e-05/0.5514, allocations: 117.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.5515, allocations: 3.984 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.5515, allocations: 7.125 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5515, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5515, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.5515, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.5517, allocations: 173.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5517, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5518, allocations: 11.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5518, allocations: 7.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-06/0.5518, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5518, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5518, allocations: 192 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.5522, allocations: 187.4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.5522, allocations: 89.03 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.5523, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.5524, allocations: 11.92 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.5524, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5524, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.5525, allocations: 87.3 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.292e-06/0.5525, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002354/0.5527, allocations: 19.84 kB / 1.022 GB, free: 12.91 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.0006023/0.5533, allocations: 0.7415 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.5536, allocations: 59.88 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5537, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5538, allocations: 36.05 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.554, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.5546, allocations: 156.4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.5548, allocations: 0.6768 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.606e-05/0.5549, allocations: 8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.5549, allocations: 15.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5549, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.5712, allocations: 1.63 MB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.436, allocations: 5.719 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches