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.0008529/0.0008529, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005176/0.005176, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.073/2.073, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5397, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.0009406/0.5407, allocations: 0.9782 MB / 0.9561 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.5411, allocations: 227.6 kB / 0.9564 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.082e-05/0.5411, allocations: 4 kB / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.5411, allocations: 0 / 0.9564 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.688e-05/0.5412, allocations: 8.984 kB / 0.9564 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.5414, allocations: 37.48 kB / 0.9564 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.5414, allocations: 20.23 kB / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.5414, allocations: 2.062 kB / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.5415, allocations: 8.562 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.5415, allocations: 11.33 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.5415, allocations: 5.031 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.5416, allocations: 44.3 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.5416, allocations: 9.359 kB / 0.9565 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.5417, allocations: 32.33 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.5418, allocations: 43.66 kB / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5418, allocations: 0 / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5418, allocations: 1.312 kB / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.826e-06/0.5418, allocations: 0 / 0.9566 GB, free: 6.648 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.0002258/0.542, allocations: 327 kB / 0.9569 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5421, allocations: 12.75 kB / 0.9569 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/0.5421, allocations: 35.88 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.5422, allocations: 15.86 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.194e-05/0.5422, allocations: 165.5 kB / 0.9571 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.5423, allocations: 5.562 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.5423, allocations: 1.625 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.877e-05/0.5424, allocations: 46.53 kB / 0.9572 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5424, allocations: 7.922 kB / 0.9572 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.5424, allocations: 1.219 kB / 0.9572 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5424, allocations: 5.094 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.5425, allocations: 15.83 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.392e-05/0.5426, allocations: 158.2 kB / 0.9573 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.5426, allocations: 42.81 kB / 0.9574 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.5427, allocations: 22.2 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.5427, allocations: 0 / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.5427, allocations: 40.69 kB / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.5427, allocations: 0 / 0.9574 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001835/0.5445, allocations: 498.4 kB / 0.9579 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/0.5446, allocations: 51.41 kB / 0.958 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.375e-05/0.5446, allocations: 95.42 kB / 0.958 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.5446, allocations: 25.7 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.099e-05/0.5446, allocations: 80.14 kB / 0.9582 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.5446, allocations: 32.05 kB / 0.9582 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.5447, allocations: 11.09 kB / 0.9582 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.01e-05/0.5447, allocations: 316.1 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.5447, allocations: 23.7 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.5448, allocations: 36.2 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.5449, allocations: 59.06 kB / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5449, allocations: 0 / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001159/0.545, allocations: 95.31 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.545, allocations: 5.5 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.545, allocations: 0 / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.545, allocations: 1.812 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.5452, allocations: 16.58 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.5452, allocations: 0 / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.5452, allocations: 1.781 kB / 0.9587 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.5453, allocations: 13.72 kB / 0.9587 GB, free: 4.508 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 4.332e-05/0.5453, allocations: 107.6 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.5453, allocations: 9.688 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.5454, allocations: 15.97 kB / 0.9589 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5454, allocations: 1.75 kB / 0.9589 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5454, allocations: 3.938 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5454, allocations: 448 / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.338e-05/0.5455, allocations: 176.2 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5455, allocations: 1.781 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.5456, allocations: 27.61 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5456, allocations: 0 / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5456, allocations: 4 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5456, allocations: 1.844 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5456, allocations: 0 / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.5458, allocations: 145.8 kB / 0.9592 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.5458, allocations: 82.42 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.5459, allocations: 5.312 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.546, allocations: 12.17 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.546, allocations: 2.75 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.546, allocations: 5.375 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.977e-06/0.546, allocations: 75.28 kB / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.546, allocations: 0 / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001754/0.5462, allocations: 11 kB / 0.9594 GB, free: 3.832 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.0002886/0.5465, allocations: 0.6938 MB / 0.9601 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.5466, allocations: 57.05 kB / 0.9601 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5466, allocations: 0 / 0.9601 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.5467, allocations: 39.17 kB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.5468, allocations: 3.703 kB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/0.5477, allocations: 1.303 MB / 0.9614 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.052e-05/0.5478, allocations: 0.6756 MB / 0.9621 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.523e-05/0.5479, allocations: 15.2 kB / 0.9621 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.5479, allocations: 18.62 kB / 0.9621 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5479, allocations: 0 / 0.9621 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.5737, allocations: 1.429 MB / 0.9635 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.5739, allocations: 266.7 kB / 0.9638 GB, free: 252 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.111, allocations: 0 / 0.9638 GB, free: 252 kB / 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