Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_10_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.001307/0.001308, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009318/0.009318, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 12 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5816, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.001185/0.5828, allocations: 0.9825 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.5834, allocations: 311.1 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-06/0.5834, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.5835, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.5835, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.5837, allocations: 55.77 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.5838, allocations: 15.97 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.5838, allocations: 4 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.5839, allocations: 11.94 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.5839, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.5839, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.5841, allocations: 71.91 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.5841, allocations: 7.984 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.5841, allocations: 33.64 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.5843, allocations: 47.94 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5843, allocations: 7.938 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5843, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.5843, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 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.0002994/0.5846, allocations: 333.7 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5846, allocations: 8.031 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.5847, allocations: 34.75 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.5848, allocations: 8.922 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.5849, allocations: 164.4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.5849, allocations: 8.375 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5849, allocations: 384 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.585, allocations: 50.17 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.585, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.5851, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5851, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.5851, allocations: 15.97 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.5853, allocations: 157.7 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.5854, allocations: 50.5 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.5855, allocations: 16.86 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.5855, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.5855, allocations: 42.64 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.5855, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.001228/0.5868, allocations: 386.1 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5868, allocations: 55.41 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.049e-05/0.5869, allocations: 93.86 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5869, allocations: 25.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.5869, allocations: 80.14 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.5869, allocations: 23.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.587, allocations: 9.719 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.5871, allocations: 318.8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.5871, allocations: 19.98 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.5872, allocations: 23.97 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.5872, allocations: 44.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5873, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001256/0.5874, allocations: 73.69 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5874, allocations: 7.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5874, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5874, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.5875, allocations: 19.92 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5875, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.5876, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.5876, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 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.111e-05/0.5877, allocations: 118.3 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.5877, allocations: 11.86 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.5879, allocations: 93.56 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5879, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5879, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5879, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.5881, allocations: 165.7 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5881, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.5882, allocations: 15.98 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5882, allocations: 3.938 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.5882, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5882, allocations: 7.938 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5882, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.5884, allocations: 121.5 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.5884, allocations: 89.08 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.5885, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.5885, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.5886, allocations: 3.984 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.5886, allocations: 8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.155e-05/0.5886, allocations: 75.28 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5886, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.5888, allocations: 8 kB / 1.027 GB, free: 11.1 MB / 0.7794 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.0003969/0.5892, allocations: 0.671 MB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5893, allocations: 39.98 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5893, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.5894, allocations: 27.92 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.5896, allocations: 13.38 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.5905, allocations: 1.193 MB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.5907, allocations: 0.6813 MB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.012e-05/0.5908, allocations: 8 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.5908, allocations: 11.42 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.5909, allocations: 4 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.6009, allocations: 1.442 MB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.6012, allocations: 258.3 kB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.393, allocations: 0 / 1.032 GB, free: 6.77 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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