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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006948/0.006948, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001449/0.001449, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 68.11 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8249, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002488/0.8275, allocations: 1.255 MB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005303/0.828, allocations: 239.2 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.8281, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.8281, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.8282, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.8285, allocations: 43.77 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.8286, allocations: 19.97 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.8286, allocations: 4 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.8287, allocations: 11.94 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.8288, allocations: 11.98 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.8288, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.8289, allocations: 43.95 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.8289, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.8289, allocations: 15.92 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.8291, allocations: 38.2 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8291, allocations: 4 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8291, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8291, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 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.0004294/0.8296, allocations: 339.5 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8296, allocations: 8.031 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.8296, allocations: 34.75 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.8298, allocations: 8.922 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.8299, allocations: 168.3 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.8299, allocations: 4.375 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.83, allocations: 4.359 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.8301, allocations: 54.17 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8301, allocations: 3.938 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8301, allocations: 12 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8302, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.8302, allocations: 15.94 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.8304, allocations: 161.6 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.655e-05/0.8305, allocations: 42.62 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.8306, allocations: 16.98 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.8306, allocations: 4 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8306, allocations: 42.55 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.8306, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.002134/0.8328, allocations: 498 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.8328, allocations: 59.34 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.874e-05/0.8329, allocations: 89.86 kB / 1.21 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.8329, allocations: 25.7 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.8329, allocations: 80.14 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.833, allocations: 27.61 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.833, allocations: 17.72 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.8331, allocations: 326.8 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.614e-05/0.8332, allocations: 20 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.8332, allocations: 23.98 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.8333, allocations: 52.86 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.8333, allocations: 0 / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001731/0.8335, allocations: 101.7 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8335, allocations: 5.719 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.8336, allocations: 0 / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8336, allocations: 3.984 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.8337, allocations: 19.94 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8337, allocations: 7.938 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.8338, allocations: 0 / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.8338, allocations: 0 / 1.211 GB, free: 9.355 MB / 0.9356 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.636e-05/0.8339, allocations: 113.8 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.8339, allocations: 3.938 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.834, allocations: 15.95 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.834, allocations: 4 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.834, allocations: 0 / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.834, allocations: 4 kB / 1.211 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.8342, allocations: 175.5 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8342, allocations: 0 / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.8343, allocations: 16.38 kB / 1.211 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8343, allocations: 0 / 1.211 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.8344, allocations: 4 kB / 1.211 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8344, allocations: 4 kB / 1.211 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8344, allocations: 80 / 1.211 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.8346, allocations: 156.9 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.8347, allocations: 85.06 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.8347, allocations: 4 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.8348, allocations: 4 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.8348, allocations: 0 / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.8349, allocations: 7.984 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.543e-05/0.8349, allocations: 79.28 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8349, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001922/0.8351, allocations: 8 kB / 1.212 GB, free: 8.582 MB / 0.9356 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.0005199/0.8356, allocations: 0.6906 MB / 1.212 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.8358, allocations: 59.91 kB / 1.212 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8358, allocations: 4.281 kB / 1.212 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.8359, allocations: 28 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.8362, allocations: 15.98 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.8376, allocations: 1.267 MB / 1.214 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8378, allocations: 0.6884 MB / 1.214 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.619e-05/0.8379, allocations: 8 kB / 1.214 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.838, allocations: 23.36 kB / 1.214 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.838, allocations: 0 / 1.214 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.857, allocations: 1.665 MB / 1.216 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.337, allocations: 9.469 kB / 1.216 GB, free: 4.188 MB / 0.9356 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) "" 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