Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.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.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",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.0009606/0.0009606, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00731/0.00731, allocations: 172 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 443.4 MB / 0.7176 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 8.094 kB / 0.8797 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 155.2 MB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.001228/0.2999, allocations: 0.9691 MB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.3009, allocations: 0.6197 MB / 1.033 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.067e-05/0.3009, allocations: 3.938 kB / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.3009, allocations: 0 / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.48e-05/0.301, allocations: 0 / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3013, allocations: 119.6 kB / 1.033 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.3014, allocations: 8 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.3014, allocations: 7.984 kB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.3014, allocations: 8 kB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.3015, allocations: 7.984 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.3015, allocations: 0 / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.3018, allocations: 219.6 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3018, allocations: 3.938 kB / 1.033 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.3019, allocations: 29.7 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3021, allocations: 143.9 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3021, allocations: 0 / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3021, allocations: 4 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3021, allocations: 0 / 1.033 GB, free: 2.023 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.0003633/0.3025, allocations: 343.4 kB / 1.034 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3025, allocations: 8.031 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.3026, allocations: 42.75 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.3027, allocations: 8.922 kB / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3028, allocations: 164.3 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3029, allocations: 4.359 kB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3029, allocations: 8.375 kB / 1.034 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.303, allocations: 38.25 kB / 1.034 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.303, allocations: 3.938 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.303, allocations: 0 / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.303, allocations: 4 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.3031, allocations: 11.94 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.3032, allocations: 153.7 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.3034, allocations: 42.61 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.3035, allocations: 20.94 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3035, allocations: 0 / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3035, allocations: 38.56 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3035, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005879/0.3041, allocations: 302.5 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3042, allocations: 59.34 kB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.276e-05/0.3042, allocations: 89.86 kB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3042, allocations: 25.7 kB / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.3043, allocations: 88.14 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.3043, allocations: 19.64 kB / 1.035 GB, free: 328 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.3043, allocations: 17.72 kB / 1.035 GB, free: 304 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3045, allocations: 310.8 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.3045, allocations: 8 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.3045, allocations: 19.98 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.3046, allocations: 32.8 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3046, allocations: 0 / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.3047, allocations: 69.81 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3047, allocations: 7.938 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.3047, allocations: 3.938 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3047, allocations: 4 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.3048, allocations: 11.98 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3048, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.3048, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.3049, allocations: 8 kB / 1.035 GB, free: 15.81 MB / 0.795 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 6.926e-05/0.3049, allocations: 115.3 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.305, allocations: 7.938 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.3051, allocations: 73.58 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3051, allocations: 0 / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3051, allocations: 0 / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3051, allocations: 0 / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3052, allocations: 161.7 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3052, allocations: 0 / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.3053, allocations: 19.98 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3053, allocations: 7.938 kB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3053, allocations: 0 / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3054, allocations: 0 / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3054, allocations: 64 / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.3055, allocations: 105 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.3056, allocations: 88.97 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3056, allocations: 4.031 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.3056, allocations: 8.062 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3057, allocations: 0 / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3057, allocations: 4 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.3057, allocations: 75.31 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3057, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001751/0.3059, allocations: 4 kB / 1.036 GB, free: 15.05 MB / 0.795 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.0004071/0.3063, allocations: 0.6516 MB / 1.037 GB, free: 14.37 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.19e-05/0.3064, allocations: 35.92 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3064, allocations: 0 / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.3064, allocations: 19.98 kB / 1.037 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.3066, allocations: 7.938 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.3075, allocations: 1.176 MB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3078, allocations: 0.6809 MB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.3078, allocations: 7.984 kB / 1.038 GB, free: 12.33 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3079, allocations: 15.38 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3079, allocations: 0 / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.3184, allocations: 1.153 MB / 1.04 GB, free: 11.39 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.3188, allocations: 282.2 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.982, allocations: 0 / 1.04 GB, free: 11.02 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.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:der(p_w),der(y),der(y_comp),err,p_w,time,y,y_comp