Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001391/0.001391, 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.001545/0.001545, allocations: 213.9 kB / 22.25 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.533/1.533, 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.516/3.516, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.002152/0.002152, allocations: 70.59 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3786, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002665/0.3812, allocations: 1.305 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3824, allocations: 0.597 MB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.3824, allocations: 4 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.3825, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.3825, allocations: 3.938 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.383, allocations: 115.5 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.3831, allocations: 23.86 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.3831, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.3832, allocations: 12 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.3832, allocations: 7.984 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3832, allocations: 3.938 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.3835, allocations: 147.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3836, allocations: 3.984 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.3836, allocations: 7.984 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3838, allocations: 104 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3838, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3838, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3838, allocations: 0 / 1.366 GB, free: 11.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005332/0.3844, allocations: 278.1 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3844, allocations: 8.031 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.3844, allocations: 34.75 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.3849, allocations: 36.89 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.385, allocations: 110.4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.385, allocations: 4.375 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.3851, allocations: 384 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.3853, allocations: 83.92 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3853, allocations: 11.81 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3853, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3853, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3855, allocations: 31.97 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.3856, allocations: 136.7 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.386, allocations: 66.52 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.3861, allocations: 24.94 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3861, allocations: 4 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3861, allocations: 34.56 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 3.035e-06/0.3861, allocations: 3.984 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.003291/0.3894, allocations: 0.5007 MB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3895, allocations: 51.41 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.3895, allocations: 93.95 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3896, allocations: 33.73 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.3896, allocations: 88.08 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.3897, allocations: 27.78 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.3897, allocations: 25.7 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3899, allocations: 314.8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.39, allocations: 35.97 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3901, allocations: 39.97 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.3904, allocations: 80.81 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3904, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003602/0.3908, allocations: 133.5 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3908, allocations: 4 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3908, allocations: 240 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3908, allocations: 4 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.391, allocations: 23.91 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.391, allocations: 3.984 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3912, allocations: 7.984 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3912, allocations: 4 kB / 1.368 GB, free: 9.148 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 (7): * Single equations (assignments): 7 * 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 0.0001151/0.3913, allocations: 121.8 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3913, allocations: 7.984 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.3914, allocations: 12.06 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3914, allocations: 4 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3914, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3914, allocations: 3.938 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3916, allocations: 146.8 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3916, allocations: 0 / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.3918, allocations: 23.91 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3918, allocations: 4 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3918, allocations: 7.984 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3919, allocations: 0 / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3919, allocations: 0 / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.3924, allocations: 197 kB / 1.368 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.3925, allocations: 7.891 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3925, allocations: 0 / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3927, allocations: 12.02 kB / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.3927, allocations: 4 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3927, allocations: 8.047 kB / 1.368 GB, free: 8.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.3927, allocations: 83.28 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3927, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002604/0.393, allocations: 27.94 kB / 1.369 GB, free: 8.41 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 (6): * Single equations (assignments): 6 * 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.001006/0.394, allocations: 0.7529 MB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.3944, allocations: 83.92 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.3944, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3945, allocations: 55.95 kB / 1.369 GB, free: 7.492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3948, allocations: 4.25 kB / 1.369 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.397, allocations: 1.358 MB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.3971, allocations: 63.34 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.3973, allocations: 28 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.3974, allocations: 15.42 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of SimCode: time 8.71e-07/0.3974, allocations: 0 / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.4329, allocations: 3.068 MB / 1.374 GB, free: 3.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.81, allocations: 9.75 kB / 1.374 GB, free: 3.039 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y in file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.02033860096708]