Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00185/0.00185, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002365/0.002365, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.972/2.972, allocations: 476.7 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_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.002116/0.002116, allocations: 67.7 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002834/0.3807, allocations: 1.317 MB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3818, allocations: 0.6484 MB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.3818, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.3819, allocations: 3.984 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.3819, allocations: 3.938 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3823, allocations: 111.5 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.3824, allocations: 27.86 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.3824, allocations: 4 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.3825, allocations: 11.98 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.3825, allocations: 11.92 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3825, allocations: 4 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.3828, allocations: 151.7 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3828, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.3829, allocations: 11.92 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3831, allocations: 116 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 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.0004844/0.3836, allocations: 287.6 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3836, allocations: 8.031 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.3837, allocations: 30.75 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.3841, allocations: 36.89 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3843, allocations: 102.5 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3843, allocations: 12.31 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3843, allocations: 4.312 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3845, allocations: 54.22 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3845, allocations: 3.938 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3845, allocations: 4 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3845, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3847, allocations: 31.97 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.3849, allocations: 140.7 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3852, allocations: 70.47 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.3853, allocations: 24.94 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3853, allocations: 4 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3853, allocations: 30.56 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3853, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003653/0.389, allocations: 0.4971 MB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.389, allocations: 55.39 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.3891, allocations: 97.86 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3891, allocations: 25.7 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.3892, allocations: 88.06 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.3892, allocations: 23.92 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.3893, allocations: 29.69 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3894, allocations: 310.8 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3895, allocations: 39.97 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3897, allocations: 47.88 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.3899, allocations: 76.83 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3899, allocations: 0 / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003667/0.3903, allocations: 125.6 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3903, allocations: 11.98 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3903, allocations: 3.984 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3903, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3906, allocations: 19.97 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3906, allocations: 11.88 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3907, allocations: 4 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3908, allocations: 3.984 kB / 1.288 GB, free: 6.719 MB / 0.9825 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 9.726e-05/0.3909, allocations: 117.8 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3909, allocations: 3.938 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.3909, allocations: 12.06 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3909, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.391, allocations: 4 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.391, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3911, allocations: 158.9 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3911, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3914, allocations: 27.91 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3914, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3914, allocations: 3.984 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3914, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3914, allocations: 0 / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.392, allocations: 200.9 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.392, allocations: 3.938 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.392, allocations: 0 / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3922, allocations: 20.08 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.3922, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3922, allocations: 11.92 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.3923, allocations: 79.28 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002464/0.3925, allocations: 27.94 kB / 1.289 GB, free: 5.984 MB / 0.9825 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.0009344/0.3935, allocations: 0.7607 MB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3938, allocations: 83.92 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3938, allocations: 0 / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3939, allocations: 47.89 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3942, allocations: 12 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3963, allocations: 1.353 MB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3966, allocations: 0.6807 MB / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.3967, allocations: 27.94 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.3968, allocations: 19.42 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3968, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.4287, allocations: 2.618 MB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.03, allocations: 1.016 kB / 1.294 GB, free: 448 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.003835993000394]