Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_11_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.001594/0.001594, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 196.6 kB / 16.53 MB, free: 6.617 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.62 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2841, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00232/0.2864, allocations: 1.25 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.2869, allocations: 227.3 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.287, allocations: 4 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.287, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.287, allocations: 11.97 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2873, allocations: 47.77 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.2874, allocations: 15.92 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.2874, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2874, allocations: 12 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.2875, allocations: 7.969 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2875, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2876, allocations: 51.89 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2876, allocations: 7.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.2877, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.2878, allocations: 40.17 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2878, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2878, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2878, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 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.0003737/0.2882, allocations: 347.4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2882, allocations: 12.03 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2883, allocations: 30.75 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2884, allocations: 12.92 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.2885, allocations: 160.4 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2885, allocations: 384 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2885, allocations: 8.375 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2886, allocations: 42.25 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2887, allocations: 3.938 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2887, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.2887, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.2887, allocations: 23.92 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.2889, allocations: 165.7 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.289, allocations: 38.58 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.289, allocations: 20.97 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.2891, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2891, allocations: 30.56 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.2891, allocations: 4 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.001985/0.2911, allocations: 0.4943 MB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.2911, allocations: 59.34 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.2912, allocations: 93.86 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.2912, allocations: 29.7 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.2912, allocations: 81.98 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2913, allocations: 31.62 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.2913, allocations: 17.72 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2915, allocations: 314.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.2915, allocations: 24.11 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.2916, allocations: 31.98 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2917, allocations: 64.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2917, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000153/0.2918, allocations: 97.47 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2919, allocations: 4 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2919, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2919, allocations: 0 / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.292, allocations: 19.92 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.292, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.2921, allocations: 8 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.2921, allocations: 4 kB / 1.068 GB, free: 9.957 MB / 0.8262 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.66e-05/0.2922, allocations: 113.8 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.2922, allocations: 3.938 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.2923, allocations: 11.97 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2923, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2923, allocations: 4 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2923, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2924, allocations: 175.5 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2924, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.2926, allocations: 19.92 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2926, allocations: 4 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2926, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2926, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2926, allocations: 4 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.2928, allocations: 145 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.2929, allocations: 84.95 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.2929, allocations: 0 / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.293, allocations: 16.08 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.293, allocations: 4.094 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.2931, allocations: 3.938 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.2931, allocations: 79.28 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2931, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001816/0.2933, allocations: 15.94 kB / 1.069 GB, free: 9.188 MB / 0.8262 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.0005032/0.2938, allocations: 0.6906 MB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2939, allocations: 59.92 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.294, allocations: 0 / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.294, allocations: 31.98 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.2942, allocations: 11.05 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2955, allocations: 1.268 MB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2958, allocations: 0.6805 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.194e-05/0.2959, allocations: 15.98 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.2959, allocations: 7.438 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2959, allocations: 3.938 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6203/0.9163, allocations: 1.632 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.39, allocations: 8.484 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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:X_w,der(X_w),der(p),der(y),der(y_comp),err,p,time,y,y_comp