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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001333/0.001333, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5968, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002362/0.5993, allocations: 1.333 MB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.5998, allocations: 227.3 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.5998, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.5998, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.5999, allocations: 11.98 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.6001, allocations: 31.84 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.6002, allocations: 15.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.6002, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.6002, allocations: 11.98 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.6003, allocations: 11.92 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.6003, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.6004, allocations: 51.95 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.6004, allocations: 3.938 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.6005, allocations: 11.98 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.6006, allocations: 38.14 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6006, allocations: 8 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6006, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.6006, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 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.0003507/0.601, allocations: 337.2 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.601, allocations: 8.031 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.601, allocations: 34.75 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.6012, allocations: 16.86 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.6013, allocations: 164.3 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6013, allocations: 4.375 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.6013, allocations: 4.375 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.6014, allocations: 46.23 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6014, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.6014, allocations: 3.938 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6015, allocations: 4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.6015, allocations: 12 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.6017, allocations: 161.7 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.093e-05/0.6017, allocations: 42.56 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.6018, allocations: 16.98 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.6018, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.6018, allocations: 38.55 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.6018, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002105/0.604, allocations: 498 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.604, allocations: 59.39 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.851e-05/0.604, allocations: 89.86 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6041, allocations: 37.64 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.6041, allocations: 80.14 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6041, allocations: 31.55 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.6042, allocations: 17.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.6043, allocations: 318.8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.6043, allocations: 16 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.6044, allocations: 27.98 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6045, allocations: 60.8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6045, allocations: 4.188 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001368/0.6046, allocations: 93.56 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6046, allocations: 7.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6047, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.6047, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.6048, allocations: 12.44 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.6048, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.6049, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6049, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 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.011e-05/0.605, allocations: 118.4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.605, allocations: 7.844 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.6051, allocations: 15.95 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6051, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6051, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6051, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.6052, allocations: 175.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6052, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.6054, allocations: 19.88 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6054, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.6054, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6054, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6054, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.6056, allocations: 145.1 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.6057, allocations: 84.95 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.6057, allocations: 4.031 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.6058, allocations: 8 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.6059, allocations: 11.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6059, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.6059, allocations: 75.28 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6059, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001891/0.6061, allocations: 12 kB / 1.021 GB, free: 13.75 MB / 0.7794 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.0004435/0.6065, allocations: 0.6907 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.6067, allocations: 71.92 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6067, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.6068, allocations: 28 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.607, allocations: 14.02 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.6082, allocations: 1.271 MB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.6084, allocations: 0.6809 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.6085, allocations: 12 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.6086, allocations: 11.44 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6086, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.6192, allocations: 1.485 MB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.6194, allocations: 257.3 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.359, allocations: 2.656 kB / 1.026 GB, free: 9.223 MB / 0.7794 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) "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