Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.007539/0.007539, allocations: 105.7 kB / 15.74 MB, free: 5.594 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.001193/0.001193, allocations: 193.8 kB / 16.67 MB, free: 5.531 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 68.09 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.963/0.9645, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002509/0.967, allocations: 1.264 MB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005248/0.9676, allocations: 235.2 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.9676, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.9676, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.9677, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.968, allocations: 43.77 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.9681, allocations: 19.98 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.9682, allocations: 7.984 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.9682, allocations: 7.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.9683, allocations: 11.98 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.9683, allocations: 4 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.9684, allocations: 43.95 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.9685, allocations: 4 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.9685, allocations: 11.92 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.9687, allocations: 38.2 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9687, allocations: 0 / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9687, allocations: 0 / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9687, allocations: 4 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004914/0.9692, allocations: 331.6 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9692, allocations: 11.97 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.9693, allocations: 38.69 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.9695, allocations: 12.92 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.9696, allocations: 168.3 kB / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.9696, allocations: 384 / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.9696, allocations: 4.375 kB / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.9698, allocations: 54.23 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9698, allocations: 3.938 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9698, allocations: 0 / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.9698, allocations: 0 / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/0.9699, allocations: 12 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.9701, allocations: 161.6 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.9702, allocations: 46.56 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.9703, allocations: 24.98 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.9703, allocations: 0 / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.9703, allocations: 34.55 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.9703, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.002251/0.9726, allocations: 0.4941 MB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.9726, allocations: 51.41 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.9727, allocations: 89.86 kB / 1.21 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.9727, allocations: 33.64 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.9727, allocations: 84.08 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.9728, allocations: 27.61 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.9728, allocations: 25.72 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.973, allocations: 314.8 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.973, allocations: 20 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.9731, allocations: 23.98 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.9732, allocations: 57.3 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.9732, allocations: 0 / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001543/0.9733, allocations: 93.56 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.9734, allocations: 8 kB / 1.211 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.9734, allocations: 7.984 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.9734, allocations: 4 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.9736, allocations: 12 kB / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.9736, allocations: 3.938 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/0.9736, allocations: 7.938 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.9737, allocations: 4 kB / 1.211 GB, free: 9.336 MB / 0.9356 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 (9): * Single equations (assignments): 9 * 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.56e-05/0.9737, allocations: 109.8 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.9738, allocations: 3.938 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.9738, allocations: 19.95 kB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9738, allocations: 0 / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9738, allocations: 8 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9739, allocations: 288 / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.974, allocations: 171.5 kB / 1.211 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.974, allocations: 0 / 1.211 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.9742, allocations: 23.88 kB / 1.211 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9742, allocations: 0 / 1.211 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.9742, allocations: 0 / 1.211 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9742, allocations: 0 / 1.211 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9742, allocations: 4 kB / 1.211 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.9744, allocations: 149 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.9745, allocations: 85.03 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.9745, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.9746, allocations: 4.031 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.9747, allocations: 15.97 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.9747, allocations: 0 / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.9747, allocations: 79.28 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9747, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002004/0.9749, allocations: 12.06 kB / 1.212 GB, free: 8.562 MB / 0.9356 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 (8): * Single equations (assignments): 8 * 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.0005291/0.9755, allocations: 0.6866 MB / 1.212 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.9756, allocations: 59.97 kB / 1.212 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9756, allocations: 0 / 1.212 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.9757, allocations: 32.17 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.976, allocations: 16.2 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.9774, allocations: 1.275 MB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.9777, allocations: 0.6807 MB / 1.214 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.497e-05/0.9778, allocations: 11.98 kB / 1.214 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.9779, allocations: 7.438 kB / 1.214 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of SimCode: time 1.001e-06/0.9779, allocations: 7.938 kB / 1.214 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.999, allocations: 1.666 MB / 1.216 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.726, allocations: 13.59 kB / 1.216 GB, free: 4.172 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y,y_comp Variables in the result:X_w,der(X_w),der(p),der(y),der(y_comp),err,p,time,y,y_comp