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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001127/0.001127, 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.001107/0.001107, allocations: 193.6 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.292/1.292, 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 11.0.1-master/package.mo): time 2.625/2.625, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 65.91 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2558, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002355/0.2582, allocations: 1.407 MB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.259, allocations: 0.5975 MB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.2591, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.2591, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.2592, allocations: 7.922 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.2595, allocations: 91.58 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.25e-05/0.2596, allocations: 31.86 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.56e-05/0.2597, allocations: 7.984 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.2597, allocations: 15.98 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.2597, allocations: 15.88 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.2598, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.26, allocations: 139.8 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.26, allocations: 7.969 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.26, allocations: 11.94 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.2602, allocations: 104 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2603, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2603, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2603, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 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.0003951/0.2607, allocations: 359.5 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2607, allocations: 8.031 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.2607, allocations: 30.75 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.2611, allocations: 28.81 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.2613, allocations: 168.3 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2613, allocations: 4.359 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.2613, allocations: 8.359 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.2615, allocations: 66.2 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2615, allocations: 3.938 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2616, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2616, allocations: 4 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.2618, allocations: 51.94 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.2622, allocations: 276.9 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.2624, allocations: 62.42 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2626, allocations: 32.89 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.2626, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2626, allocations: 34.56 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2626, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004986/0.2631, allocations: 121.4 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.2632, allocations: 51.41 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.2633, allocations: 101.8 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2633, allocations: 29.7 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.2633, allocations: 84.12 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2633, allocations: 8.031 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.2634, allocations: 17.72 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.2635, allocations: 318.8 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.2636, allocations: 23.97 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.2638, allocations: 27.97 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.264, allocations: 60.88 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.264, allocations: 3.938 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000312/0.2643, allocations: 93.56 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2644, allocations: 4 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2644, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2644, allocations: 4 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2645, allocations: 11.98 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.2645, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.2646, allocations: 7.984 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2646, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 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.559e-05/0.2647, allocations: 121.8 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2647, allocations: 0 / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.2648, allocations: 7.109 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2648, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2648, allocations: 4 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2648, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.265, allocations: 169.6 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.265, allocations: 0 / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2651, allocations: 15.98 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2651, allocations: 0 / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2651, allocations: 7.984 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2651, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2651, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.2655, allocations: 191.3 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.2655, allocations: 81.09 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2655, allocations: 4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2657, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2657, allocations: 7.922 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2657, allocations: 8.188 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.2658, allocations: 79.27 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2658, allocations: 32 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00024/0.266, allocations: 24 kB / 1.069 GB, free: 8.945 MB / 0.8262 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.00061/0.2666, allocations: 0.7285 MB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.2669, allocations: 55.94 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.267, allocations: 3.938 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2671, allocations: 32.03 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2674, allocations: 7.984 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.2679, allocations: 164.1 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.2681, allocations: 0.6729 MB / 1.07 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.2682, allocations: 15.97 kB / 1.07 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.2683, allocations: 19.42 kB / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2683, allocations: 0 / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.2841, allocations: 1.638 MB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.822, allocations: 4.688 kB / 1.072 GB, free: 5.633 MB / 0.8262 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