Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.00479/0.00479, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.001835/0.001835, allocations: 197 kB / 16.68 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 482.6 MB / 0.755 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 72.11 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002271/0.3091, allocations: 1.253 MB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.3097, allocations: 307 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.3098, allocations: 0 / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.3098, allocations: 3.938 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.3098, allocations: 0 / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3102, allocations: 59.75 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.473e-05/0.3102, allocations: 19.92 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.3103, allocations: 3.984 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.3103, allocations: 7.938 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.3103, allocations: 4 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.3104, allocations: 4 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3105, allocations: 75.91 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.3105, allocations: 3.984 kB / 1.244 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.3106, allocations: 7.938 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3107, allocations: 43.88 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3107, allocations: 0 / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3107, allocations: 4 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3107, allocations: 0 / 1.244 GB, free: 8.062 MB / 0.9981 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.0003819/0.3111, allocations: 333.5 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3111, allocations: 19.97 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.3112, allocations: 30.75 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3113, allocations: 8.922 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.3114, allocations: 160.4 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3114, allocations: 384 / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3115, allocations: 12.36 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3116, allocations: 42.23 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3116, allocations: 7.938 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3116, allocations: 7.875 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3116, allocations: 0 / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.3117, allocations: 19.98 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3118, allocations: 157.7 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.312, allocations: 42.56 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.3121, allocations: 16.86 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3121, allocations: 4 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3121, allocations: 38.58 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3121, allocations: 4 kB / 1.244 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001297/0.3135, allocations: 394.2 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3135, allocations: 51.41 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.464e-05/0.3136, allocations: 93.84 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3136, allocations: 25.7 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.3136, allocations: 84.14 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.3137, allocations: 27.78 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3137, allocations: 25.7 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3138, allocations: 310.8 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.3139, allocations: 16.06 kB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.3139, allocations: 23.98 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.314, allocations: 44.84 kB / 1.246 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.314, allocations: 0 / 1.246 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001294/0.3142, allocations: 81.62 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3142, allocations: 9.031 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3142, allocations: 0 / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3142, allocations: 0 / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.3143, allocations: 15.98 kB / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.3143, allocations: 240 / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.3144, allocations: 3.938 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3144, allocations: 0 / 1.246 GB, free: 5.715 MB / 0.9981 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.664e-05/0.3145, allocations: 113.8 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3145, allocations: 11.89 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.3147, allocations: 105.5 kB / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3147, allocations: 0 / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3147, allocations: 0 / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3147, allocations: 0 / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3149, allocations: 170 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3149, allocations: 0 / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.315, allocations: 12 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.315, allocations: 3.938 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.315, allocations: 0 / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.315, allocations: 0 / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.315, allocations: 4 kB / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.3153, allocations: 129 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3153, allocations: 85.11 kB / 1.246 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3153, allocations: 8.016 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3154, allocations: 8 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.3154, allocations: 0 / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3155, allocations: 4 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.3155, allocations: 75.28 kB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3155, allocations: 0 / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001831/0.3157, allocations: 8 kB / 1.246 GB, free: 4.887 MB / 0.9981 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 (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 Backend phase and start with SimCode phase: time 0.0005112/0.3162, allocations: 0.6714 MB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.3163, allocations: 39.98 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3163, allocations: 0 / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.3164, allocations: 31.92 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.3166, allocations: 7.938 kB / 1.247 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3177, allocations: 1.193 MB / 1.248 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.318, allocations: 0.6768 MB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.726e-05/0.3181, allocations: 12.23 kB / 1.249 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.3181, allocations: 13.16 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.3181, allocations: 3.938 kB / 1.249 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3401, allocations: 1.655 MB / 1.251 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.978, allocations: 15 kB / 1.251 GB, free: 0.6328 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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