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.001883/0.001883, allocations: 104.2 kB / 16.45 MB, free: 6.5 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.002156/0.002156, allocations: 210.4 kB / 19.43 MB, free: 3.656 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 / 252.8 MB, free: 8.941 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.937/2.937, allocations: 476.7 MB / 0.7672 GB, free: 5.188 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.002029/0.002029, allocations: 67.91 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8954, allocations: 169.9 MB / 1.278 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002662/0.898, allocations: 1.313 MB / 1.28 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.8993, allocations: 0.6404 MB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.8993, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.8993, allocations: 7.938 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.8994, allocations: 7.938 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.8999, allocations: 119.5 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.9, allocations: 15.94 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.9001, allocations: 3.984 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.9001, allocations: 12 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.9002, allocations: 15.91 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.9002, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.9005, allocations: 151.7 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.9006, allocations: 7.984 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.9006, allocations: 11.92 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.9009, allocations: 101.6 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9009, allocations: 0 / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9009, allocations: 0 / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.9009, allocations: 0 / 1.281 GB, free: 10.95 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.0006416/0.9015, allocations: 363.1 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.9016, allocations: 11.97 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.9016, allocations: 38.75 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.9021, allocations: 28.89 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.9023, allocations: 164.4 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.9023, allocations: 384 / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.9023, allocations: 4.375 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.9025, allocations: 58.22 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9025, allocations: 3.938 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.9025, allocations: 0 / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.9025, allocations: 4 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.9027, allocations: 23.97 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.9029, allocations: 173.6 kB / 1.281 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.9033, allocations: 66.53 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.9034, allocations: 28.94 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.9034, allocations: 0 / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.9034, allocations: 30.56 kB / 1.282 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.9034, allocations: 7.938 kB / 1.282 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003531/0.9069, allocations: 0.58 MB / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.907, allocations: 51.41 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.9071, allocations: 93.86 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.9071, allocations: 33.83 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.9071, allocations: 80.14 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.9072, allocations: 19.84 kB / 1.282 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.9072, allocations: 25.7 kB / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9074, allocations: 310.8 kB / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.9075, allocations: 40.03 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.9077, allocations: 55.92 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.908, allocations: 72.83 kB / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.908, allocations: 0 / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003923/0.9083, allocations: 133.5 kB / 1.283 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9084, allocations: 11.92 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9084, allocations: 4 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.9084, allocations: 0 / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.9086, allocations: 19.97 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9086, allocations: 4 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.9088, allocations: 8 kB / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.9088, allocations: 3.984 kB / 1.283 GB, free: 8.148 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 0.0001459/0.9089, allocations: 113.8 kB / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.9089, allocations: 3.938 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.909, allocations: 15.97 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.909, allocations: 0 / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.909, allocations: 0 / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.909, allocations: 3.938 kB / 1.283 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.9092, allocations: 183.7 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9092, allocations: 0 / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.9095, allocations: 27.84 kB / 1.283 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9095, allocations: 4 kB / 1.283 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.9095, allocations: 3.984 kB / 1.283 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9095, allocations: 0 / 1.283 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9095, allocations: 4 kB / 1.283 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.9101, allocations: 193 kB / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.9101, allocations: 85.11 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.9101, allocations: 0 / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.9103, allocations: 11.98 kB / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.9103, allocations: 0 / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.9104, allocations: 16.05 kB / 1.284 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001045/0.9105, allocations: 75.28 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9105, allocations: 0 / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002557/0.9107, allocations: 31.88 kB / 1.284 GB, free: 7.285 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.001002/0.9117, allocations: 0.769 MB / 1.285 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.9121, allocations: 83.92 kB / 1.285 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9121, allocations: 3.938 kB / 1.285 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.9123, allocations: 51.95 kB / 1.285 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.9125, allocations: 4 kB / 1.285 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.9147, allocations: 1.356 MB / 1.286 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.915, allocations: 0.6807 MB / 1.287 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.9152, allocations: 31.97 kB / 1.287 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.9153, allocations: 15.42 kB / 1.287 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9153, allocations: 0 / 1.287 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.9427, allocations: 2.512 MB / 1.289 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.1, allocations: 16.38 kB / 1.289 GB, free: 1.836 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.496419825125486]