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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009719/0.0009719, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007466/0.007466, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004515, allocations: 9.875 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2925, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001363/0.2939, allocations: 0.986 MB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005468/0.2945, allocations: 239.3 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.241e-05/0.2945, allocations: 4 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.2945, allocations: 0 / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.2946, allocations: 7.984 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.2948, allocations: 35.83 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.2949, allocations: 12 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.2949, allocations: 4 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.295, allocations: 15.92 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.295, allocations: 4 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2951, allocations: 4 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2952, allocations: 43.95 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2952, allocations: 11.97 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.2952, allocations: 33.64 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2953, allocations: 44.11 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2953, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2954, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.2954, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 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.000345/0.2957, allocations: 331.5 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2958, allocations: 15.97 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.2958, allocations: 30.75 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.2959, allocations: 8.922 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.296, allocations: 164.4 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2961, allocations: 4.375 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2961, allocations: 4.359 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2962, allocations: 46.25 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2962, allocations: 3.938 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2962, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2962, allocations: 4 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.2963, allocations: 15.94 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.2965, allocations: 157.7 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.2966, allocations: 42.62 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.2966, allocations: 16.98 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.2966, allocations: 7.984 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2967, allocations: 38.56 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.2967, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002054/0.2987, allocations: 0.498 MB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.2988, allocations: 51.41 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.434e-05/0.2988, allocations: 93.86 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2988, allocations: 25.7 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.2989, allocations: 88.05 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.2989, allocations: 27.62 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.299, allocations: 21.66 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2991, allocations: 314.8 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.2991, allocations: 20 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.2992, allocations: 27.98 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2993, allocations: 64.73 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2993, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001435/0.2994, allocations: 93.53 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2994, allocations: 8 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2995, allocations: 3.984 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2995, allocations: 0 / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2996, allocations: 15.94 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2996, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.2997, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2997, allocations: 12 kB / 1.062 GB, free: 0.875 MB / 0.8106 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 7.173e-05/0.2998, allocations: 105.8 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.2998, allocations: 7.938 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.2999, allocations: 19.95 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2999, allocations: 0 / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2999, allocations: 0 / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2999, allocations: 4 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3, allocations: 171.4 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3001, allocations: 288 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3002, allocations: 19.94 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3002, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3002, allocations: 7.938 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3002, allocations: 3.938 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3002, allocations: 4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3005, allocations: 141.1 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.3005, allocations: 88.94 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3006, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3007, allocations: 8.094 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.3007, allocations: 11.98 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3007, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.3008, allocations: 75.28 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3008, allocations: 4 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000191/0.301, allocations: 8 kB / 1.063 GB, free: 116 kB / 0.8106 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.0005023/0.3015, allocations: 0.6907 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3016, allocations: 59.91 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3016, allocations: 3.938 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.234e-05/0.3017, allocations: 32 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.3019, allocations: 3.984 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3031, allocations: 1.289 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3034, allocations: 0.6809 MB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.716e-05/0.3035, allocations: 8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.3035, allocations: 15.44 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3035, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/0.3141, allocations: 1.433 MB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.3144, allocations: 267.9 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.029, allocations: 5.766 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB (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 --timeout=50 --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) 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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,y,y_comp Variables in the result:X_w,der(X_w),der(p),der(y),der(y_comp),err,p,time,y,y_comp