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.001562/0.001562, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001694/0.001694, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.428/3.428, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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.002145/0.002145, allocations: 67.33 kB / 1.172 GB, free: 17.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.345, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002562/0.3475, allocations: 1.311 MB / 1.349 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3488, allocations: 0.6391 MB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.3488, allocations: 0 / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.3488, allocations: 4 kB / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.3488, allocations: 7.922 kB / 1.35 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3493, allocations: 111.4 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.3494, allocations: 23.92 kB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.3494, allocations: 0 / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.3495, allocations: 16 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.3496, allocations: 15.91 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3496, allocations: 0 / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.3499, allocations: 155.7 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3499, allocations: 3.984 kB / 1.35 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.3499, allocations: 11.92 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3502, allocations: 92.05 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3502, allocations: 8 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3502, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3502, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 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.0005357/0.3507, allocations: 363.1 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3508, allocations: 15.98 kB / 1.35 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.3508, allocations: 30.75 kB / 1.35 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.3513, allocations: 32.89 kB / 1.351 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3514, allocations: 164.3 kB / 1.351 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3514, allocations: 4.375 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3514, allocations: 8.375 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3516, allocations: 50.22 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3516, allocations: 7.922 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3516, allocations: 7.984 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3516, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.3518, allocations: 19.98 kB / 1.351 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.352, allocations: 181.5 kB / 1.351 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.3524, allocations: 66.52 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.3525, allocations: 24.94 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3525, allocations: 4 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3525, allocations: 34.56 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.3525, allocations: 0 / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.003767/0.3563, allocations: 0.5759 MB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3563, allocations: 55.41 kB / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.3564, allocations: 93.86 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.3564, allocations: 29.7 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.3565, allocations: 80.14 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.3565, allocations: 27.78 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.3566, allocations: 21.7 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3567, allocations: 318.8 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3569, allocations: 40.03 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3571, allocations: 43.95 kB / 1.352 GB, free: 5.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.3574, allocations: 80.81 kB / 1.352 GB, free: 4.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3574, allocations: 0 / 1.352 GB, free: 4.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003999/0.3578, allocations: 121.6 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3578, allocations: 9.875 kB / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3578, allocations: 3.938 kB / 1.353 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3578, allocations: 0 / 1.353 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3581, allocations: 31.91 kB / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3581, allocations: 0 / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.3582, allocations: 4 kB / 1.353 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.3582, allocations: 3.984 kB / 1.353 GB, free: 4.762 MB / 1.045 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.0001042/0.3583, allocations: 113.8 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.3584, allocations: 7.891 kB / 1.353 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.3585, allocations: 19.95 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3585, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3585, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3585, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3587, allocations: 187.7 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3587, allocations: 0 / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3589, allocations: 35.84 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3589, allocations: 4 kB / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3589, allocations: 0 / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3589, allocations: 0 / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3589, allocations: 0 / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.3596, allocations: 201 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3596, allocations: 85 kB / 1.353 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3596, allocations: 0 / 1.353 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3598, allocations: 12.34 kB / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.3599, allocations: 4 kB / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3599, allocations: 3.984 kB / 1.353 GB, free: 4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.3599, allocations: 87.34 kB / 1.353 GB, free: 3.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3599, allocations: 0 / 1.353 GB, free: 3.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000268/0.3602, allocations: 23.94 kB / 1.353 GB, free: 3.891 MB / 1.045 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.001108/0.3613, allocations: 0.7607 MB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.3617, allocations: 87.98 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3617, allocations: 0 / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3619, allocations: 51.89 kB / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3621, allocations: 8.328 kB / 1.354 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3644, allocations: 1.36 MB / 1.356 GB, free: 1.512 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3648, allocations: 0.6885 MB / 1.356 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.3649, allocations: 27.97 kB / 1.356 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.365, allocations: 23.41 kB / 1.356 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.365, allocations: 0 / 1.356 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3926, allocations: 2.515 MB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.768, allocations: 5.5 kB / 1.359 GB, free: 14.43 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.81299695186317]