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.004289/0.004289, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001273/0.001273, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.133 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.674/2.674, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 64.12 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2857, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002097/0.2878, allocations: 1.266 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.2883, allocations: 225.1 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.2883, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.2884, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.711e-05/0.2884, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2887, allocations: 43.77 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.2887, allocations: 23.97 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.2888, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.2888, allocations: 11.92 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.2889, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2889, allocations: 4 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.289, allocations: 43.95 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.289, allocations: 8 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.2891, allocations: 15.91 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2892, allocations: 35.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2892, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2892, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2892, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 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.0003865/0.2896, allocations: 343.3 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2896, allocations: 8.031 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.2897, allocations: 38.73 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.2898, allocations: 12.94 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2899, allocations: 164.4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2899, allocations: 384 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.29, allocations: 4.375 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2901, allocations: 46.25 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2901, allocations: 3.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2901, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2901, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.2902, allocations: 15.94 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.2904, allocations: 169.7 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.2905, allocations: 42.62 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.2905, allocations: 24.97 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2905, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2905, allocations: 30.56 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.2906, allocations: 0 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001945/0.2925, allocations: 0.4941 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.2926, allocations: 55.34 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.6e-05/0.2926, allocations: 97.84 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2926, allocations: 29.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.2927, allocations: 80.14 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.2927, allocations: 27.75 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2928, allocations: 25.7 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2929, allocations: 310.8 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.2929, allocations: 23.98 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.293, allocations: 20 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2931, allocations: 68.92 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2931, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001489/0.2933, allocations: 97.98 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2933, allocations: 8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2933, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2933, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2935, allocations: 19.94 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2935, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.2936, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2936, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 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 8.009e-05/0.2936, allocations: 117.8 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.2937, allocations: 3.938 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.2937, allocations: 19.95 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2937, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2937, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2937, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2939, allocations: 179.5 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2939, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.294, allocations: 19.94 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.294, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.294, allocations: 4 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.294, allocations: 0 / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2941, allocations: 7.984 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.2943, allocations: 141 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.2944, allocations: 81.05 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2944, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.2945, allocations: 4.031 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.2945, allocations: 16.05 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2945, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.958e-05/0.2946, allocations: 79.28 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2946, allocations: 0 / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001747/0.2948, allocations: 8 kB / 1.225 GB, free: 9.301 MB / 0.9825 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.0005149/0.2953, allocations: 0.6989 MB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.2954, allocations: 63.91 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2954, allocations: 3.938 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.2955, allocations: 31.98 kB / 1.225 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2957, allocations: 8 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.297, allocations: 1.267 MB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2973, allocations: 0.6807 MB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.2974, allocations: 11.98 kB / 1.227 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.2974, allocations: 11.44 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2974, allocations: 0 / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/1.327, allocations: 1.661 MB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.29, allocations: 12.22 kB / 1.229 GB, free: 4.922 MB / 0.9825 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) Reference file matches