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.00126/0.00126, 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.001231/0.001231, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.846/2.846, allocations: 469.8 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 68.23 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2871, allocations: 159.2 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00236/0.2895, allocations: 1.321 MB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004579/0.29, allocations: 233.1 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.29, allocations: 0 / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.2901, allocations: 0 / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.2901, allocations: 7.922 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.2904, allocations: 35.91 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.2904, allocations: 19.86 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.872e-05/0.2904, allocations: 4 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.2905, allocations: 11.98 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.2905, allocations: 7.984 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.2905, allocations: 4 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.2906, allocations: 43.95 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.2907, allocations: 11.94 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.2907, allocations: 3.984 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.2908, allocations: 44.17 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2908, allocations: 0 / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2908, allocations: 0 / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2908, allocations: 0 / 1.065 GB, free: 12.77 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.0003712/0.2912, allocations: 339.5 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2912, allocations: 12.03 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.2913, allocations: 30.75 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2914, allocations: 12.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.877e-05/0.2915, allocations: 160.4 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2915, allocations: 4.359 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.2915, allocations: 12.38 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2916, allocations: 46.19 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2917, allocations: 3.938 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.2917, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2917, allocations: 4 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.2917, allocations: 12 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.2919, allocations: 157.7 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.635e-05/0.292, allocations: 42.56 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.292, allocations: 20.97 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.292, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2921, allocations: 38.5 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.2921, allocations: 0 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.002064/0.2942, allocations: 0.4979 MB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2942, allocations: 51.41 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.684e-05/0.2943, allocations: 89.86 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2943, allocations: 33.64 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.2943, allocations: 80.14 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.2944, allocations: 27.64 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.2944, allocations: 21.72 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2945, allocations: 318.8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.2946, allocations: 24 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.2946, allocations: 27.98 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.468e-05/0.2947, allocations: 56.8 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2947, allocations: 0 / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001514/0.2949, allocations: 97.47 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2949, allocations: 10.17 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.2949, allocations: 0 / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.2949, allocations: 7.984 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2951, allocations: 12 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.2951, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.2952, allocations: 8 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2952, allocations: 4 kB / 1.068 GB, free: 10.26 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.546e-05/0.2952, allocations: 109.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.2953, allocations: 11.92 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.2953, allocations: 11.97 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2953, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2953, allocations: 288 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2953, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2955, allocations: 172 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2955, allocations: 15.88 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2956, allocations: 19.94 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2957, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.2957, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2957, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2957, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.2959, allocations: 149.1 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.296, allocations: 88.98 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.296, allocations: 64 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2961, allocations: 12 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.2961, allocations: 11.92 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.2961, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.2962, allocations: 75.28 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.733e-06/0.2962, allocations: 0 / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001824/0.2964, allocations: 19.94 kB / 1.068 GB, free: 9.48 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.0005042/0.2969, allocations: 0.675 MB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.297, allocations: 75.89 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.297, allocations: 0 / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.2971, allocations: 35.92 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.2973, allocations: 5.828 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2986, allocations: 1.275 MB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2989, allocations: 0.6844 MB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.639e-05/0.299, allocations: 8 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.299, allocations: 15.42 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.299, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6068/0.9058, allocations: 1.538 MB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.9061, allocations: 267.3 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.558, allocations: 2.344 kB / 1.073 GB, free: 4.914 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