Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_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.001104/0.001104, 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.00124/0.00124, allocations: 197.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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.247/2.247, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.541, allocations: 140.3 MB / 0.9497 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002132/0.5431, allocations: 1.405 MB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.5438, allocations: 0.6019 MB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.5439, allocations: 1.375 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.5439, allocations: 3.938 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.544, allocations: 1.375 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.5443, allocations: 96.22 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.5443, allocations: 22.38 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.5444, allocations: 15.47 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.5444, allocations: 11.09 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.5445, allocations: 11.17 kB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.5445, allocations: 3.031 kB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.5447, allocations: 143.2 kB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.5447, allocations: 7.922 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.5448, allocations: 7.75 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.5449, allocations: 100.8 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.545, allocations: 0 / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.545, allocations: 1.375 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.545, allocations: 0 / 0.9521 GB, free: 7.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003305/0.5453, allocations: 366.5 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5453, allocations: 13.53 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.182e-05/0.5454, allocations: 30.75 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003998/0.5458, allocations: 29.52 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.91e-05/0.5458, allocations: 165.9 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.5459, allocations: 384 / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.5459, allocations: 5.875 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.5461, allocations: 66.17 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5461, allocations: 5.344 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5461, allocations: 0 / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5461, allocations: 0 / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.5464, allocations: 59.73 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.5467, allocations: 276.2 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.5469, allocations: 59.88 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.547, allocations: 37.19 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.5471, allocations: 0 / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.5471, allocations: 31.69 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.5471, allocations: 0 / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004585/0.5476, allocations: 114.9 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.5476, allocations: 52.5 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.5476, allocations: 103 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.5476, allocations: 29.64 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.5477, allocations: 85.48 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.5477, allocations: 5.188 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.5477, allocations: 20.55 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.5478, allocations: 312.2 kB / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5479, allocations: 28.84 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.548, allocations: 26 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.5482, allocations: 61.02 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5483, allocations: 3.938 kB / 0.954 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002675/0.5485, allocations: 86.23 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5485, allocations: 9.781 kB / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5486, allocations: 0 / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.5486, allocations: 0 / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5487, allocations: 12.02 kB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5487, allocations: 9.391 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.5488, allocations: 8.906 kB / 0.9541 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5488, allocations: 3.984 kB / 0.9541 GB, free: 5.227 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.385e-05/0.5489, allocations: 119.8 kB / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.5489, allocations: 5.344 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.5489, allocations: 4.656 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5489, allocations: 0 / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5489, allocations: 1.094 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5489, allocations: 0 / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.5491, allocations: 171.1 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5491, allocations: 1.188 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.5492, allocations: 20.69 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5492, allocations: 0 / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.5492, allocations: 3.938 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.5492, allocations: 1.469 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5492, allocations: 0 / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.5495, allocations: 188.5 kB / 0.9546 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.5495, allocations: 82.52 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.5495, allocations: 0 / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5496, allocations: 10.11 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.5497, allocations: 1.062 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5497, allocations: 1.281 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.023e-05/0.5497, allocations: 85.86 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5497, allocations: 0 / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002233/0.55, allocations: 19.19 kB / 0.9548 GB, free: 4.508 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.0004672/0.5504, allocations: 0.7375 MB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.5507, allocations: 58.45 kB / 0.9556 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.5507, allocations: 0 / 0.9556 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5509, allocations: 32.94 kB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.5511, allocations: 7.344 kB / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5516, allocations: 159 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.5517, allocations: 0.6803 MB / 0.9564 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.119e-05/0.5518, allocations: 11.69 kB / 0.9564 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.5518, allocations: 17.41 kB / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5518, allocations: 0 / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4368/0.9887, allocations: 1.629 MB / 0.958 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/10.04, allocations: 16.61 kB / 0.958 GB, free: 1.953 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches