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.001698/0.001698, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002139/0.002139, allocations: 195.2 kB / 16.26 MB, free: 6.621 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.604/2.604, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5711, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002166/0.5733, allocations: 1.323 MB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000434/0.5737, allocations: 227.3 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.5737, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.5738, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.5738, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.5741, allocations: 35.89 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.5741, allocations: 15.94 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.5742, allocations: 11.98 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.5742, allocations: 11.92 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.5743, allocations: 7.984 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.5743, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.5744, allocations: 47.97 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.5744, allocations: 7.984 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.5744, allocations: 7.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.5746, allocations: 42.14 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5746, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5746, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.5746, allocations: 0 / 1.019 GB, free: 0.9453 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.0003459/0.5749, allocations: 348.8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.575, allocations: 12.03 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.575, allocations: 34.75 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5752, allocations: 12.92 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.5752, allocations: 164.3 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5753, allocations: 4.375 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5753, allocations: 4.375 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.5754, allocations: 50.19 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5754, allocations: 3.938 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.5754, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5754, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.5755, allocations: 15.98 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.5756, allocations: 157.7 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.5757, allocations: 38.62 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.5758, allocations: 24.92 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.5758, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5758, allocations: 38.5 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.5758, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002159/0.578, allocations: 0.4903 MB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.578, allocations: 51.41 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.821e-05/0.5781, allocations: 89.86 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.5781, allocations: 29.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.5781, allocations: 84.14 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.5782, allocations: 23.56 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.5782, allocations: 29.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.5783, allocations: 310.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.5784, allocations: 27.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.5784, allocations: 20 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.93e-05/0.5785, allocations: 64.91 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5785, allocations: 7.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001354/0.5786, allocations: 93.55 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5787, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5787, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5787, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5788, allocations: 16 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5789, allocations: 3.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.5789, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.579, allocations: 4.438 kB / 1.021 GB, free: 14.43 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 6.752e-05/0.579, allocations: 110.4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.579, allocations: 11.84 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.5791, allocations: 11.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5791, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5791, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5791, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5792, allocations: 183.5 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5793, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.5794, allocations: 23.86 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5794, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.5794, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5794, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5794, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.5797, allocations: 145.1 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.5797, allocations: 81.05 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.5797, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5798, allocations: 7.984 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.5799, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.5799, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.5799, allocations: 79.22 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5799, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001962/0.5801, allocations: 16 kB / 1.021 GB, free: 13.66 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.0004343/0.5806, allocations: 0.6984 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.5807, allocations: 59.92 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5807, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.5808, allocations: 43.86 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.581, allocations: 8.062 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.5822, allocations: 1.271 MB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.5824, allocations: 0.6807 MB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.869e-05/0.5825, allocations: 11.98 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.5826, allocations: 7.438 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5826, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.6088, allocations: 1.538 MB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.6091, allocations: 267.3 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.432, allocations: 2.5 kB / 1.026 GB, free: 9.094 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