Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_9_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.001073/0.001073, 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.001077/0.001077, allocations: 194.6 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5964, allocations: 140.3 MB / 0.9491 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002123/0.5985, allocations: 1.322 MB / 0.9503 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004643/0.599, allocations: 237.2 kB / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.599, allocations: 0 / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.5991, allocations: 4 kB / 0.9506 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.5991, allocations: 3.938 kB / 0.9506 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.5994, allocations: 33.73 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.5994, allocations: 17.38 kB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.5995, allocations: 1.188 kB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.5995, allocations: 12.75 kB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.5995, allocations: 11.81 kB / 0.9507 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.5996, allocations: 1.469 kB / 0.9507 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.5997, allocations: 46.7 kB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.5997, allocations: 1.688 kB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.5997, allocations: 14.92 kB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.5998, allocations: 39.77 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5998, allocations: 1.562 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5998, allocations: 0 / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.095e-06/0.5998, allocations: 0 / 0.9508 GB, free: 7.914 MB / 0.7169 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.0003048/0.6002, allocations: 328.4 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6002, allocations: 9 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.6002, allocations: 40.55 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.6004, allocations: 11.75 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.62e-05/0.6004, allocations: 168.3 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.6004, allocations: 9.844 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.6004, allocations: 1.719 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.6005, allocations: 46.78 kB / 0.9513 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6006, allocations: 3.938 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6006, allocations: 1.094 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6006, allocations: 0 / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.6006, allocations: 16.72 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.905e-05/0.6007, allocations: 158.5 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.6008, allocations: 42.28 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.6008, allocations: 22 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.6009, allocations: 1.5 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.6009, allocations: 40.06 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.6009, allocations: 4 kB / 0.9516 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001922/0.6028, allocations: 496.4 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.6028, allocations: 60.78 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.606e-05/0.6029, allocations: 93.84 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.6029, allocations: 26.95 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-06/0.6029, allocations: 80.14 kB / 0.9523 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.6029, allocations: 26.62 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.603, allocations: 23.31 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.603, allocations: 319.9 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.6031, allocations: 20 kB / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.6031, allocations: 27.39 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.833e-05/0.6032, allocations: 60.05 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6032, allocations: 0 / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001462/0.6033, allocations: 104.3 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6034, allocations: 7.281 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.6034, allocations: 0 / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.6034, allocations: 0 / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.6035, allocations: 11.78 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6035, allocations: 1.25 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.6036, allocations: 1.031 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.6036, allocations: 5.656 kB / 0.9529 GB, free: 5.773 MB / 0.7169 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 5.456e-05/0.6037, allocations: 116.3 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.6037, allocations: 9.062 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.6038, allocations: 17.12 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6038, allocations: 1.312 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6038, allocations: 0 / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6038, allocations: 0 / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.155e-05/0.6039, allocations: 189.4 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6039, allocations: 288 / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.604, allocations: 23.94 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.604, allocations: 0 / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.604, allocations: 5.5 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.604, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6041, allocations: 5.453 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.6043, allocations: 137.2 kB / 0.9534 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.6043, allocations: 86.55 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.6043, allocations: 1.594 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6044, allocations: 7.281 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.6045, allocations: 5.891 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.6045, allocations: 2.156 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.246e-05/0.6045, allocations: 80.34 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6045, allocations: 0 / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001856/0.6047, allocations: 13.31 kB / 0.9536 GB, free: 5.086 MB / 0.7169 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.0003329/0.605, allocations: 0.694 MB / 0.9543 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.6052, allocations: 61.28 kB / 0.9543 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6052, allocations: 0 / 0.9543 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.6052, allocations: 30.81 kB / 0.9544 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.6054, allocations: 7.953 kB / 0.9544 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.6064, allocations: 1.288 MB / 0.9556 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.415e-05/0.6065, allocations: 0.6802 MB / 0.9563 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.121e-05/0.6066, allocations: 10.31 kB / 0.9563 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.6066, allocations: 14.8 kB / 0.9563 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/0.6066, allocations: 0 / 0.9563 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009495/0.6161, allocations: 1.484 MB / 0.9578 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/0.6163, allocations: 270.2 kB / 0.958 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.232, allocations: 4 kB / 0.958 GB, free: 1.434 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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