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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001128/0.001128, allocations: 201.3 kB / 16.14 MB, free: 6.801 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 65.56 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2977, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00278/0.3005, allocations: 1.344 MB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3016, allocations: 0.6583 MB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.3016, allocations: 4 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.3017, allocations: 0 / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.3017, allocations: 7.922 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.3022, allocations: 95.62 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.3023, allocations: 31.86 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.3023, allocations: 0 / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.3023, allocations: 8 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.3024, allocations: 19.91 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.3024, allocations: 0 / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.3028, allocations: 143.7 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3028, allocations: 4 kB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.3028, allocations: 15.91 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3031, allocations: 100 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3031, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3031, allocations: 4 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3031, allocations: 0 / 1.055 GB, free: 5.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004353/0.3035, allocations: 355.5 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3036, allocations: 11.97 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.3036, allocations: 34.75 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.304, allocations: 28.91 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3042, allocations: 168.4 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3042, allocations: 4.312 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3042, allocations: 4.281 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3044, allocations: 58.22 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3044, allocations: 3.938 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3044, allocations: 4 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3044, allocations: 0 / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3046, allocations: 31.91 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.3048, allocations: 165.5 kB / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.3051, allocations: 62.58 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.3052, allocations: 32.92 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3052, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3052, allocations: 38.56 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 6.622e-06/0.3052, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003606/0.3089, allocations: 0.5797 MB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3089, allocations: 51.41 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.309, allocations: 97.84 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.309, allocations: 29.7 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.309, allocations: 80.14 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3091, allocations: 19.72 kB / 1.056 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.3091, allocations: 33.81 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3092, allocations: 310.8 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3094, allocations: 32.03 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3095, allocations: 43.97 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.3098, allocations: 88.95 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3098, allocations: 0 / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003627/0.3102, allocations: 129.5 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3102, allocations: 4 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3102, allocations: 4 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.3102, allocations: 336 / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.3105, allocations: 23.97 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3105, allocations: 7.875 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3107, allocations: 7.984 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3107, allocations: 7.984 kB / 1.057 GB, free: 2.973 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 (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 8.565e-05/0.3108, allocations: 109.8 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3108, allocations: 11.94 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.3109, allocations: 11.95 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3109, allocations: 0 / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3109, allocations: 3.938 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3109, allocations: 4 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3111, allocations: 179.7 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3111, allocations: 0 / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.3113, allocations: 27.91 kB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3113, allocations: 0 / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3114, allocations: 7.984 kB / 1.057 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3114, allocations: 4 kB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3114, allocations: 0 / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.3119, allocations: 188.9 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.312, allocations: 85.03 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.312, allocations: 4.031 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3122, allocations: 8.062 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.3122, allocations: 11.92 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3123, allocations: 64 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.3123, allocations: 87.27 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3123, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002422/0.3126, allocations: 31.94 kB / 1.058 GB, free: 2.117 MB / 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 (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.0009333/0.3135, allocations: 0.7569 MB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.3138, allocations: 87.94 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3139, allocations: 0 / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.314, allocations: 47.95 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3143, allocations: 11.98 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3163, allocations: 1.354 MB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3165, allocations: 0.6848 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.3168, allocations: 27.94 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.3169, allocations: 20.97 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3169, allocations: 0 / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.3288, allocations: 2.314 MB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.3291, allocations: 264.6 kB / 1.063 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.972, allocations: 5 kB / 1.063 GB, free: 12.52 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/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) "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:T,TMax,TMin,der(T),der(y),der(y_comp),err,time,y,y_comp