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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001342/0.001342, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001458/0.001458, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.683, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002417/0.6854, allocations: 1.317 MB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.686, allocations: 311 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.6861, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.6861, allocations: 7.938 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.6862, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.6865, allocations: 47.83 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.6865, allocations: 19.92 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.6866, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.6866, allocations: 7.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.6867, allocations: 15.97 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.6867, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.6868, allocations: 67.92 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.6869, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.6869, allocations: 11.94 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.687, allocations: 43.94 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.687, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.332e-06/0.687, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.687, allocations: 3.984 kB / 1.019 GB, free: 0.875 MB / 0.7637 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.0004032/0.6874, allocations: 337.7 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6875, allocations: 12.03 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.6875, allocations: 34.69 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.6877, allocations: 8.922 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.6878, allocations: 164.3 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6878, allocations: 4.375 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.6878, allocations: 4.375 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.6879, allocations: 42.25 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.688, allocations: 3.938 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.688, allocations: 7.984 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.688, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.688, allocations: 12 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.6882, allocations: 157.7 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.6884, allocations: 50.55 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.6885, allocations: 24.92 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.6885, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.6885, allocations: 34.56 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6885, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.00137/0.6899, allocations: 402.1 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.6899, allocations: 51.41 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.69, allocations: 93.86 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.69, allocations: 25.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.69, allocations: 80.14 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.6901, allocations: 23.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.6901, allocations: 17.72 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6902, allocations: 314.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.6903, allocations: 23.92 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.6903, allocations: 19.97 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.77e-05/0.6904, allocations: 44.86 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6904, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001203/0.6905, allocations: 77.67 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.6906, allocations: 11.92 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6906, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.6906, allocations: 64 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.6907, allocations: 19.94 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.6907, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.6908, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.6908, allocations: 11.94 kB / 1.021 GB, free: 14.52 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.967e-05/0.6909, allocations: 114.4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.6909, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.6911, allocations: 97.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6911, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6911, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.6911, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.6912, allocations: 161.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6912, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.6914, allocations: 19.92 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6914, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.6914, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6914, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6914, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.6916, allocations: 125 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.6916, allocations: 85.08 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.6917, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.6918, allocations: 8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.6918, allocations: 3.984 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.6918, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.6918, allocations: 75.28 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6918, allocations: 8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001803/0.692, allocations: 8 kB / 1.021 GB, free: 13.7 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.0004336/0.6925, allocations: 0.6559 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.6926, allocations: 59.88 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6927, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.6927, allocations: 24.06 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.6929, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.694, allocations: 1.196 MB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.6942, allocations: 0.6768 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.239e-05/0.6943, allocations: 8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.6943, allocations: 12.84 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 1.523e-06/0.6943, allocations: 3.938 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.7074, allocations: 1.564 MB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.7076, allocations: 267.7 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.4, allocations: 0.75 kB / 1.026 GB, free: 9.227 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