Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8854/0.8854, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.809/1.809, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.26e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001829/0.001852, allocations: 1.298 MB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.002605, allocations: 0.5225 MB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.002626, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.002648, allocations: 11.86 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.002697, allocations: 7.938 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.003096, allocations: 99.44 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.003163, allocations: 23.8 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.003204, allocations: 4 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.003256, allocations: 15.98 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.003301, allocations: 4 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.003316, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.003526, allocations: 139.7 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.003545, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.003564, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.003743, allocations: 111.7 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003746, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003747, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003751, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 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.0003203/0.004071, allocations: 276.3 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.00411, allocations: 8.75 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.00414, allocations: 34.75 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.004421, allocations: 32.89 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.475e-05/0.004506, allocations: 109.7 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.004516, allocations: 384 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.004525, allocations: 4.312 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.004652, allocations: 58.2 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004659, allocations: 192 / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004668, allocations: 384 / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004673, allocations: 4.125 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.004748, allocations: 23.97 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.004879, allocations: 120.8 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.004975, allocations: 46.58 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.00502, allocations: 24.84 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.00504, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.005059, allocations: 30.56 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.00506, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.00528, allocations: 73.75 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.005313, allocations: 55.34 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.005373, allocations: 101.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005383, allocations: 25.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.005409, allocations: 80.14 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.005435, allocations: 7.953 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.005471, allocations: 9.719 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.005558, allocations: 322.8 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.005602, allocations: 11.88 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.005636, allocations: 20.02 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.005711, allocations: 32.83 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005714, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.005821, allocations: 69.56 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.005835, allocations: 4 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.005841, allocations: 4.094 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.005855, allocations: 0 / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.005934, allocations: 15.92 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.00594, allocations: 0 / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.005967, allocations: 0 / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.005975, allocations: 7.938 kB / 1.003 GB, free: 9.477 MB / 0.9636 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 5.944e-05/0.006034, allocations: 105.8 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.006041, allocations: 0 / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.006088, allocations: 15.3 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006089, allocations: 0 / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.006098, allocations: 3.938 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.0061, allocations: 0 / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.006177, allocations: 128.7 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006178, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.006215, allocations: 4 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.006219, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.006227, allocations: 3.984 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006229, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.006231, allocations: 7.938 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.006506, allocations: 81.11 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.006545, allocations: 7.938 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.006559, allocations: 8 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.006584, allocations: 3.938 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.006596, allocations: 3.938 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.006602, allocations: 7.984 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.006627, allocations: 75.47 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006627, allocations: 4.031 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001479/0.006775, allocations: 15.94 kB / 1.004 GB, free: 8.93 MB / 0.9636 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.0003581/0.007133, allocations: 0.6241 MB / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.007256, allocations: 35.94 kB / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007257, allocations: 0 / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.007287, allocations: 15.98 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.007492, allocations: 23.94 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.007858, allocations: 138.6 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.007896, allocations: 59.36 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.007942, allocations: 16.09 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.007981, allocations: 12.5 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.007982, allocations: 0 / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.02544, allocations: 2.283 MB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.986, allocations: 4.422 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.238172851502895]