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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001451/0.001451, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001722/0.001722, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.968/2.968, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.14 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3934, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003213/0.3966, allocations: 1.331 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.3973, allocations: 227.3 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.3973, allocations: 4 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.3973, allocations: 3.938 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.3974, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.3978, allocations: 39.89 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.3979, allocations: 23.84 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.398, allocations: 4 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.398, allocations: 12 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.3981, allocations: 3.984 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3981, allocations: 4 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3982, allocations: 43.95 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.3983, allocations: 7.938 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.3983, allocations: 7.984 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.3985, allocations: 40.17 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3985, allocations: 0 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3985, allocations: 0 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.3985, allocations: 8 kB / 1.054 GB, free: 6.852 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.0005155/0.399, allocations: 335.5 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.3991, allocations: 8.031 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.3992, allocations: 30.75 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3993, allocations: 12.92 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.3994, allocations: 160.4 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3995, allocations: 4.375 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.3995, allocations: 8.312 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3997, allocations: 58.17 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3997, allocations: 3.938 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3997, allocations: 0 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3997, allocations: 4 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.3998, allocations: 8 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.4, allocations: 161.7 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4001, allocations: 42.56 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.4002, allocations: 24.92 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4002, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.4002, allocations: 30.56 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4003, allocations: 4 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002447/0.4027, allocations: 0.4941 MB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4028, allocations: 55.41 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.191e-05/0.4028, allocations: 89.86 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4028, allocations: 29.7 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.4029, allocations: 84.05 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.4029, allocations: 27.64 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.403, allocations: 21.72 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4031, allocations: 314.8 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.4032, allocations: 23.94 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.4032, allocations: 27.92 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.4034, allocations: 60.86 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4034, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001695/0.4036, allocations: 105.6 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4036, allocations: 4 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4036, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4036, allocations: 4 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.4038, allocations: 15.98 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4038, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.4039, allocations: 8 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4039, allocations: 0 / 1.056 GB, free: 4.344 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 8.592e-05/0.404, allocations: 113.8 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.404, allocations: 7.875 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.4041, allocations: 11.97 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4041, allocations: 7.984 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4041, allocations: 4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4041, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4043, allocations: 179.8 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4043, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.4044, allocations: 19.94 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4045, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4045, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4045, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4045, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4048, allocations: 145 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.4048, allocations: 88.94 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.4048, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.405, allocations: 8.031 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.405, allocations: 4 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.405, allocations: 7.984 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.4051, allocations: 75.28 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002114/0.4053, allocations: 16.06 kB / 1.057 GB, free: 3.57 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 (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.0005671/0.4059, allocations: 0.6906 MB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.4061, allocations: 59.97 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4061, allocations: 288 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.4061, allocations: 31.94 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.4064, allocations: 19.98 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.408, allocations: 1.271 MB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4083, allocations: 0.6844 MB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000111/0.4084, allocations: 8 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.4085, allocations: 11.44 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.4085, allocations: 4 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.4354, allocations: 1.541 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000399/0.4359, allocations: 269.7 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/3.366, allocations: 1.094 kB / 1.061 GB, free: 14.98 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