Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",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.001625/0.001625, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002076/0.002077, allocations: 190.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.241/2.241, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.058/4.058, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 62.22 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4818, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002795/0.4847, allocations: 1.312 MB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.4856, allocations: 0.6273 MB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.4857, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.4857, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.4858, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.4863, allocations: 123.6 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.4863, allocations: 23.91 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.4864, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.4864, allocations: 7.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.4865, allocations: 11.92 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.4865, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.4868, allocations: 215.6 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.4868, allocations: 3.984 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.4868, allocations: 8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.4871, allocations: 143.9 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4871, allocations: 0 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4871, allocations: 0 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4871, allocations: 0 / 1.055 GB, free: 6.141 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.0003781/0.4875, allocations: 343.5 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4875, allocations: 8.625 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.4876, allocations: 34.73 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.4877, allocations: 4.938 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.4878, allocations: 168.4 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4878, allocations: 8.375 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4878, allocations: 384 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.488, allocations: 46.19 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.488, allocations: 3.938 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.488, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.488, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.4881, allocations: 8 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.4882, allocations: 157.7 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.4884, allocations: 46.61 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.4885, allocations: 16.95 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4885, allocations: 7.922 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4885, allocations: 30.56 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.4885, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006937/0.4892, allocations: 322.4 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4893, allocations: 55.41 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.071e-05/0.4893, allocations: 89.86 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4894, allocations: 25.7 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.4894, allocations: 80.14 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4894, allocations: 27.64 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.4895, allocations: 21.7 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.4896, allocations: 318.8 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.4896, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.4896, allocations: 15.98 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.4897, allocations: 32.86 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.4897, allocations: 3.938 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001054/0.4898, allocations: 57.69 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4899, allocations: 11.94 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4899, allocations: 3.938 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4899, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.49, allocations: 11.98 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.49, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.49, allocations: 4 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.49, allocations: 0 / 1.057 GB, free: 3.926 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 7.346e-05/0.4901, allocations: 115.4 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.4901, allocations: 3.938 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.4903, allocations: 73.58 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4903, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4903, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4903, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.4904, allocations: 157.7 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4904, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.4905, allocations: 12 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4905, allocations: 3.938 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4905, allocations: 3.984 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4905, allocations: 128 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4905, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.4907, allocations: 105 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.4908, allocations: 85.08 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4908, allocations: 4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.4909, allocations: 11.92 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.4909, allocations: 0 / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.4909, allocations: 4 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.4909, allocations: 75.28 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4909, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001991/0.4911, allocations: 8 kB / 1.057 GB, free: 3.164 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.0004197/0.4916, allocations: 0.6437 MB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4917, allocations: 35.98 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4917, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.4917, allocations: 19.94 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.492, allocations: 7.984 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.493, allocations: 1.154 MB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.4932, allocations: 0.6768 MB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.4933, allocations: 11.98 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.4933, allocations: 17 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.4933, allocations: 3.938 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.5071, allocations: 1.275 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.5074, allocations: 277.1 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.815, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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,der(T),der(y),der(y_comp),err,time,y,y_comp