Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.001846/0.001846, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002246/0.002246, allocations: 210.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 3.466/3.466, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 72.89 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4016, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003028/0.4046, allocations: 1.282 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005859/0.4052, allocations: 211.4 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.4052, allocations: 0 / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.4052, allocations: 3.938 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.4053, allocations: 7.922 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.4056, allocations: 43.83 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.4057, allocations: 19.92 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.4057, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.4057, allocations: 7.984 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.4058, allocations: 11.94 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.4058, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4059, allocations: 43.95 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.406, allocations: 3.984 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.406, allocations: 11.98 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.4061, allocations: 44.11 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4061, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4061, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4061, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004324/0.4066, allocations: 254.3 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4066, allocations: 16.03 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.4067, allocations: 30.75 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4068, allocations: 16.92 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.4069, allocations: 106.5 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4069, allocations: 384 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4069, allocations: 4.375 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4071, allocations: 83.88 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4071, allocations: 3.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4071, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4071, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.4072, allocations: 16 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.4074, allocations: 132.7 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.4075, allocations: 34.64 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.4075, allocations: 24.97 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4075, allocations: 3.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4076, allocations: 34.56 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4076, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.002073/0.4096, allocations: 436.9 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.4097, allocations: 55.41 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.4098, allocations: 89.86 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4098, allocations: 25.7 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.4098, allocations: 80.14 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.4099, allocations: 31.73 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.4099, allocations: 25.7 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4101, allocations: 318.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.4101, allocations: 23.98 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-05/0.4102, allocations: 23.94 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4103, allocations: 56.84 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4103, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001677/0.4105, allocations: 97.56 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4105, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4105, allocations: 288 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4105, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4106, allocations: 12 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4106, allocations: 15.92 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.4107, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4107, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 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 (9): * Single equations (assignments): 9 * 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 9.471e-05/0.4108, allocations: 114.9 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.4108, allocations: 7.891 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.4109, allocations: 19.91 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4109, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4109, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4109, allocations: 3.938 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.411, allocations: 138.6 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.411, allocations: 4 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4112, allocations: 16.38 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4112, allocations: 0 / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4112, allocations: 0 / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.4112, allocations: 7.984 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4112, allocations: 0 / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4115, allocations: 149.1 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-06/0.4115, allocations: 3.938 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4115, allocations: 0 / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4116, allocations: 7.969 kB / 1.367 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.4116, allocations: 12.05 kB / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.4116, allocations: 0 / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.4117, allocations: 87.22 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4117, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001971/0.4119, allocations: 8 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0005805/0.4125, allocations: 0.6827 MB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.4126, allocations: 55.92 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4126, allocations: 0 / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.4127, allocations: 35.92 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4129, allocations: 10.72 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4145, allocations: 1.272 MB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.4145, allocations: 75.14 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.4146, allocations: 4 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.4147, allocations: 11.44 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4147, allocations: 4 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.4472, allocations: 2.156 MB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.61, allocations: 14.56 kB / 1.372 GB, free: 5.207 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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: 18.693851687014103]