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.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.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.001101/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001051/0.001051, allocations: 190.3 kB / 16.13 MB, free: 6.645 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 68.56 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2922, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002288/0.2945, allocations: 1.317 MB / 1.053 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000599/0.2952, allocations: 319.1 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.2952, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.2952, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.2953, allocations: 3.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.2955, allocations: 55.8 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.2956, allocations: 15.92 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.2956, allocations: 7.984 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.2957, allocations: 8 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.2957, allocations: 7.938 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.2957, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.2959, allocations: 71.92 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.2959, allocations: 11.97 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.2959, allocations: 3.938 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2961, allocations: 43.94 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2961, allocations: 0 / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2961, allocations: 0 / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2961, allocations: 0 / 1.054 GB, free: 6.332 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.0003449/0.2964, allocations: 343.8 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2965, allocations: 11.97 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.2965, allocations: 34.69 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.2967, allocations: 8.922 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.2968, allocations: 164.4 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2968, allocations: 384 / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2968, allocations: 4.359 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2969, allocations: 46.25 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2969, allocations: 3.938 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2969, allocations: 4 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.297, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.297, allocations: 15.98 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2972, allocations: 153.7 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2973, allocations: 50.5 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.2974, allocations: 16.86 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2974, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2974, allocations: 42.64 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2974, allocations: 0 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001435/0.2989, allocations: 386.2 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.2989, allocations: 55.39 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.026e-05/0.299, allocations: 101.9 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.299, allocations: 25.7 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.299, allocations: 80.14 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2991, allocations: 19.66 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.2991, allocations: 29.64 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.2992, allocations: 310.8 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.2992, allocations: 19.97 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.2993, allocations: 20.06 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.2994, allocations: 48.84 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2994, allocations: 0 / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.2995, allocations: 73.69 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2995, allocations: 11.94 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2995, allocations: 0 / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2996, allocations: 3.938 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2997, allocations: 19.86 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2997, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.2997, allocations: 4 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.2998, allocations: 0 / 1.056 GB, free: 3.984 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.25e-05/0.2998, allocations: 113.8 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.2999, allocations: 8.266 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.3001, allocations: 89.62 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3001, allocations: 8 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3001, allocations: 3.984 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3001, allocations: 0 / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3002, allocations: 169.6 kB / 1.056 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3002, allocations: 0 / 1.056 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3003, allocations: 16 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3003, allocations: 3.938 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3004, allocations: 0 / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3004, allocations: 0 / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3004, allocations: 0 / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3006, allocations: 129.3 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.3006, allocations: 81.05 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3006, allocations: 3.984 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.3007, allocations: 4.031 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3008, allocations: 8 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3008, allocations: 3.938 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.3008, allocations: 75.28 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001915/0.301, allocations: 12.06 kB / 1.057 GB, free: 3.168 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 (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.0004133/0.3014, allocations: 0.6632 MB / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3016, allocations: 47.92 kB / 1.057 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3016, allocations: 0 / 1.057 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.3016, allocations: 28.05 kB / 1.057 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.3018, allocations: 4 kB / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.3028, allocations: 1.192 MB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.303, allocations: 0.677 MB / 1.059 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.43e-05/0.3031, allocations: 11.98 kB / 1.059 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.3031, allocations: 15.44 kB / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3032, allocations: 0 / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.3138, allocations: 1.499 MB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.314, allocations: 274.7 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.994, allocations: 1.094 kB / 1.061 GB, free: 14.74 MB / 0.8262 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