Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_10_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.008788/0.008789, allocations: 101 kB / 15.73 MB, free: 6.039 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.00141/0.00141, allocations: 200.7 kB / 16.68 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2912, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00236/0.2936, allocations: 1.268 MB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.2941, allocations: 235.6 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.2942, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2942, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.2942, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.2946, allocations: 51.73 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.2946, allocations: 16 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.2947, allocations: 3.984 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.2947, allocations: 4 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.2948, allocations: 11.94 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2948, allocations: 0 / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2949, allocations: 47.95 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.295, allocations: 11.97 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.295, allocations: 7.938 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2951, allocations: 42.77 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2951, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2951, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2952, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 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.0003607/0.2955, allocations: 331.6 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2956, allocations: 16.02 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.2956, allocations: 38.69 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2957, allocations: 8.938 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/0.2958, allocations: 172.9 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2959, allocations: 384 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2959, allocations: 4.375 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.296, allocations: 46.25 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.296, allocations: 3.938 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.296, allocations: 0 / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.296, allocations: 0 / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.2961, allocations: 19.92 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.2963, allocations: 157.9 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.803e-05/0.2964, allocations: 46.58 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.2964, allocations: 28.97 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2964, allocations: 0 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2965, allocations: 30.56 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2965, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.002113/0.2986, allocations: 0.4941 MB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2986, allocations: 51.41 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.604e-05/0.2987, allocations: 89.86 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2987, allocations: 25.7 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.2987, allocations: 88.14 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.2988, allocations: 27.55 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.2988, allocations: 29.64 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.299, allocations: 314.8 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.299, allocations: 23.98 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.2991, allocations: 20 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2992, allocations: 61.47 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2992, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001535/0.2994, allocations: 101.5 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2994, allocations: 8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2994, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2994, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.2996, allocations: 12 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2996, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.675e-05/0.2997, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2997, allocations: 11.98 kB / 1.17 GB, free: 3.086 MB / 0.92 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.366e-05/0.2998, allocations: 109.8 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.2998, allocations: 15.92 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.2998, allocations: 15.97 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2998, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2999, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2999, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3, allocations: 175.5 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3, allocations: 0 / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3002, allocations: 15.94 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3002, allocations: 3.984 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3002, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3002, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3002, allocations: 4 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3005, allocations: 152.9 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.3005, allocations: 81.05 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3005, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3006, allocations: 4.031 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.3007, allocations: 7.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3007, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.3007, allocations: 79.34 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3007, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000203/0.3009, allocations: 12 kB / 1.171 GB, free: 2.312 MB / 0.92 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.0004776/0.3014, allocations: 0.6907 MB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.3016, allocations: 55.98 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3016, allocations: 4 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.3017, allocations: 39.92 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3019, allocations: 6.188 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3033, allocations: 1.279 MB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3035, allocations: 0.6807 MB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.067e-05/0.3036, allocations: 12 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3036, allocations: 7.438 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.3036, allocations: 0 / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.3226, allocations: 1.642 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.904, allocations: 18.39 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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