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.004971/0.004971, allocations: 99.66 kB / 15.73 MB, free: 6.035 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.001216/0.001216, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.363/2.363, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 65.8 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2636, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002424/0.2661, allocations: 1.407 MB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.2671, allocations: 0.602 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.2671, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.2671, allocations: 3.844 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.2672, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.2676, allocations: 103.5 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.2677, allocations: 15.94 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.2678, allocations: 15.98 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.2678, allocations: 7.984 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.2679, allocations: 19.92 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.2679, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.2682, allocations: 139.8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2682, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.2682, allocations: 15.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.2684, allocations: 106.6 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2684, allocations: 3.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2685, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2685, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 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.0004435/0.2689, allocations: 356.3 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.269, allocations: 8.031 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.269, allocations: 34.75 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.2694, allocations: 32.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2695, allocations: 164.3 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2695, allocations: 384 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2696, allocations: 4.375 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2698, allocations: 70.2 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2698, allocations: 3.938 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2698, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2699, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.2701, allocations: 59.81 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.2706, allocations: 268.9 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.2708, allocations: 62.47 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.271, allocations: 36.89 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.271, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.271, allocations: 34.55 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.271, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005462/0.2716, allocations: 121.5 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2716, allocations: 51.41 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.2717, allocations: 101.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2717, allocations: 25.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.2718, allocations: 84.14 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2718, allocations: 3.906 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.2719, allocations: 17.7 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.272, allocations: 322.8 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2721, allocations: 27.97 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2722, allocations: 23.97 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.2725, allocations: 64.8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2725, allocations: 3.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002997/0.2728, allocations: 81.64 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2728, allocations: 8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2728, allocations: 32 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2729, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.273, allocations: 19.97 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.273, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.923e-05/0.2731, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2731, allocations: 7.984 kB / 1.092 GB, free: 13.26 MB / 0.8575 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.893e-05/0.2732, allocations: 113.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.2732, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.2733, allocations: 11.12 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2733, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2733, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2733, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2735, allocations: 169.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2735, allocations: 7.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.2736, allocations: 15.92 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2736, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.2736, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2736, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2736, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.274, allocations: 187.3 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.274, allocations: 85.14 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.274, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2742, allocations: 7.984 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.2742, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.2742, allocations: 3.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.2743, allocations: 83.28 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2743, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002442/0.2745, allocations: 8 kB / 1.093 GB, free: 12.48 MB / 0.8575 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.0006895/0.2752, allocations: 0.7435 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.2756, allocations: 59.97 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2756, allocations: 3.938 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2757, allocations: 31.91 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.276, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.2766, allocations: 160.5 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2768, allocations: 0.6768 MB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.967e-05/0.2769, allocations: 8 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.2769, allocations: 15.44 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.2769, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.2949, allocations: 1.653 MB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.476, allocations: 13.34 kB / 1.096 GB, free: 9.133 MB / 0.8575 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