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.006689/0.00669, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001326/0.001326, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.89 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3053, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002644/0.308, allocations: 1.247 MB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006346/0.3087, allocations: 307 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.3087, allocations: 0 / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.3087, allocations: 7.984 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.3088, allocations: 3.938 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.3092, allocations: 59.73 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.3092, allocations: 15.94 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.3093, allocations: 4 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.3093, allocations: 7.984 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.3094, allocations: 3.984 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.3094, allocations: 4 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3096, allocations: 67.92 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3096, allocations: 0 / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.3096, allocations: 11.94 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3098, allocations: 51.92 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3098, allocations: 0 / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3098, allocations: 0 / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.3098, allocations: 0 / 1.209 GB, free: 8.312 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.0004404/0.3102, allocations: 342 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3103, allocations: 12.56 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3103, allocations: 30.75 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3105, allocations: 8.922 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3106, allocations: 164.4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3107, allocations: 4.312 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3107, allocations: 8.375 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3108, allocations: 46.23 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3108, allocations: 3.938 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3108, allocations: 0 / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3109, allocations: 0 / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.3109, allocations: 15.94 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.3111, allocations: 161.6 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.3113, allocations: 54.59 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.3114, allocations: 16.86 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3114, allocations: 0 / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3114, allocations: 30.56 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3114, allocations: 0 / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001346/0.3128, allocations: 398.3 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.3128, allocations: 59.34 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.929e-05/0.3129, allocations: 89.86 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3129, allocations: 25.7 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.3129, allocations: 84.14 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.313, allocations: 23.64 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.313, allocations: 25.72 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3131, allocations: 318.8 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.3132, allocations: 12 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.3132, allocations: 19.98 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.3133, allocations: 40.86 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3133, allocations: 0 / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001306/0.3135, allocations: 85.56 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3135, allocations: 7.938 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3135, allocations: 7.938 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3135, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.3136, allocations: 8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3136, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.3137, allocations: 3.938 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3137, allocations: 7.984 kB / 1.211 GB, free: 5.957 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 8.185e-05/0.3138, allocations: 109.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.3138, allocations: 8.266 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.314, allocations: 97.8 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.314, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.314, allocations: 7.984 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.314, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3142, allocations: 161.7 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3142, allocations: 0 / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/0.3143, allocations: 19.98 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.3143, allocations: 7.875 kB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3143, allocations: 4 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3143, allocations: 0 / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3143, allocations: 0 / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3145, allocations: 121.2 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3146, allocations: 88.89 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3146, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.3147, allocations: 16.05 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.3147, allocations: 4 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3147, allocations: 64 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.3148, allocations: 75.28 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3148, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001949/0.315, allocations: 8 kB / 1.212 GB, free: 5.137 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.0004557/0.3154, allocations: 0.6671 MB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3156, allocations: 51.91 kB / 1.212 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3156, allocations: 0 / 1.212 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.3156, allocations: 20 kB / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3159, allocations: 5.719 kB / 1.212 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.317, allocations: 1.201 MB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3172, allocations: 0.6768 MB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.269e-05/0.3173, allocations: 16.23 kB / 1.214 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.3174, allocations: 11.44 kB / 1.214 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3174, allocations: 7.875 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.3372, allocations: 1.682 MB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.913, allocations: 6.547 kB / 1.216 GB, free: 0.8594 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