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 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,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.01075/0.01075, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001581/0.001581, allocations: 193.1 kB / 16.67 MB, free: 5.961 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.448/1.448, 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 11.0.1-master/package.mo): time 2.865/2.865, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3279, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002426/0.3303, allocations: 1.256 MB / 1.209 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006219/0.331, allocations: 303 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.331, allocations: 0 / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.331, allocations: 0 / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.3311, allocations: 4 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3315, allocations: 63.69 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.3315, allocations: 23.91 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.3316, allocations: 0 / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.3316, allocations: 4 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.3317, allocations: 11.98 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3317, allocations: 0 / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3319, allocations: 71.91 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.3319, allocations: 0 / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3319, allocations: 11.94 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3321, allocations: 39.94 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3321, allocations: 8 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3321, allocations: 0 / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3321, allocations: 0 / 1.209 GB, free: 8.379 MB / 0.9669 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.0003633/0.3325, allocations: 335.7 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3325, allocations: 16.61 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.3326, allocations: 34.75 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3327, allocations: 4.938 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.3328, allocations: 172.3 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3328, allocations: 4.312 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3329, allocations: 8.375 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.333, allocations: 42.25 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.333, allocations: 3.938 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.333, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.333, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.3331, allocations: 15.98 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.3332, allocations: 157.6 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3334, allocations: 54.55 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.3335, allocations: 20.94 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3335, allocations: 0 / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3335, allocations: 34.56 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3336, allocations: 0 / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001445/0.335, allocations: 394.6 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3351, allocations: 51.41 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.674e-05/0.3351, allocations: 89.86 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3351, allocations: 25.7 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.3352, allocations: 84.12 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.3352, allocations: 23.66 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3352, allocations: 25.7 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.3354, allocations: 314.8 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.3354, allocations: 23.98 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.3354, allocations: 15.94 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.619e-05/0.3355, allocations: 44.84 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3355, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001297/0.3357, allocations: 77.59 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3357, allocations: 7.938 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3357, allocations: 3.984 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3357, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3358, allocations: 19.92 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3359, allocations: 4 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.3359, allocations: 7.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3359, allocations: 4 kB / 1.211 GB, free: 6.02 MB / 0.9669 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.299e-05/0.336, allocations: 105.8 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.336, allocations: 3.938 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.3363, allocations: 101.6 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3363, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3363, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3363, allocations: 3.984 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3364, allocations: 161.7 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3364, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3366, allocations: 20 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3366, allocations: 7.875 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3366, allocations: 3.984 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3366, allocations: 8 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3366, allocations: 0 / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3368, allocations: 121.4 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3369, allocations: 88.98 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3369, allocations: 4 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.337, allocations: 4 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.337, allocations: 3.984 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.337, allocations: 8.062 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.337, allocations: 75.28 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001939/0.3372, allocations: 12 kB / 1.212 GB, free: 5.195 MB / 0.9669 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.0004481/0.3377, allocations: 0.6554 MB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3378, allocations: 47.92 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3379, allocations: 0 / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.3379, allocations: 27.98 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3381, allocations: 4 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3392, allocations: 1.196 MB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.3394, allocations: 0.6807 MB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.579e-05/0.3395, allocations: 12.19 kB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.3395, allocations: 7.438 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3395, allocations: 8 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3591, allocations: 1.7 MB / 1.216 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.935, allocations: 8.828 kB / 1.216 GB, free: 0.918 MB / 0.9669 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=50 --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