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.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.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.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001381/0.001381, allocations: 195 kB / 16.14 MB, free: 6.648 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: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.642/2.642, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.56 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2765, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00296/0.2795, allocations: 1.313 MB / 1.053 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005789/0.2801, allocations: 243.3 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.2802, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.2802, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.2803, allocations: 7.984 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.2806, allocations: 39.83 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.2806, allocations: 15.98 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.2807, allocations: 3.938 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.2807, allocations: 8 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.2808, allocations: 7.984 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.2808, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2809, allocations: 43.95 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.281, allocations: 11.98 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.281, allocations: 11.88 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2812, allocations: 44.17 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2812, allocations: 0 / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2812, allocations: 0 / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2812, allocations: 3.938 kB / 1.054 GB, free: 6.453 MB / 0.8106 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.0004344/0.2816, allocations: 339.5 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2817, allocations: 15.97 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.2817, allocations: 30.75 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.2819, allocations: 12.92 kB / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.282, allocations: 164.4 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.282, allocations: 384 / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2821, allocations: 4.375 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2822, allocations: 46.25 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2822, allocations: 3.938 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2822, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2822, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.2823, allocations: 19.92 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.2825, allocations: 157.7 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.2826, allocations: 46.56 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.2826, allocations: 20.98 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2826, allocations: 4 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2827, allocations: 30.56 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2827, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002199/0.2849, allocations: 0.5019 MB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.2849, allocations: 51.41 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.118e-05/0.285, allocations: 93.86 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.285, allocations: 29.7 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.2851, allocations: 84.05 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.2851, allocations: 31.62 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.2852, allocations: 21.72 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2853, allocations: 310.8 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.2853, allocations: 23.98 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.2854, allocations: 27.92 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2855, allocations: 68.92 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2855, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001507/0.2857, allocations: 93.53 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2857, allocations: 4 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2857, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2857, allocations: 4 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2859, allocations: 19.92 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2859, allocations: 0 / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.2859, allocations: 4 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.286, allocations: 0 / 1.056 GB, free: 3.941 MB / 0.8106 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.273e-05/0.286, allocations: 117.8 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.2861, allocations: 7.938 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.2861, allocations: 11.97 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2861, allocations: 0 / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2861, allocations: 0 / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2861, allocations: 0 / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.2863, allocations: 175.4 kB / 1.056 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2863, allocations: 4 kB / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.2864, allocations: 19.91 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2865, allocations: 4 kB / 1.056 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2865, allocations: 7.938 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2865, allocations: 0 / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2865, allocations: 448 / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2867, allocations: 141.1 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.2868, allocations: 88.98 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2868, allocations: 0 / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2869, allocations: 15.98 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.287, allocations: 8.062 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.287, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.287, allocations: 75.28 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.287, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001963/0.2872, allocations: 16 kB / 1.057 GB, free: 3.168 MB / 0.8106 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.0005027/0.2877, allocations: 0.6867 MB / 1.057 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.2879, allocations: 67.86 kB / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2879, allocations: 0 / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.288, allocations: 27.98 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2882, allocations: 13.91 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2895, allocations: 1.278 MB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2898, allocations: 0.6731 MB / 1.059 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.068e-05/0.2899, allocations: 15.98 kB / 1.059 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.29, allocations: 15.44 kB / 1.059 GB, free: 264 kB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.29, allocations: 0 / 1.059 GB, free: 264 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4684/0.7583, allocations: 1.488 MB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004096/0.7588, allocations: 261.8 kB / 1.061 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.451, allocations: 0 / 1.061 GB, free: 14.62 MB / 0.8262 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) "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