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.001809/0.001809, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.48/2.48, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 67.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5685, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00246/0.571, allocations: 1.256 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00048/0.5715, allocations: 235.2 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.5716, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.5716, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.5716, allocations: 3.984 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.5719, allocations: 39.77 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.572, allocations: 19.98 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.572, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.5721, allocations: 7.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.5721, allocations: 15.97 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.5721, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.5723, allocations: 47.95 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.5723, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.5723, allocations: 11.94 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.5724, allocations: 38.2 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5724, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5724, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.5725, allocations: 3.938 kB / 1.019 GB, free: 0.7422 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.0003405/0.5728, allocations: 341.4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5728, allocations: 8.031 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.5729, allocations: 46.69 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.573, allocations: 8.922 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.5731, allocations: 168.3 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.5731, allocations: 4.375 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.5732, allocations: 384 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.5733, allocations: 46.25 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5733, allocations: 3.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5733, allocations: 7.938 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.5733, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.5734, allocations: 19.98 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.5735, allocations: 157.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.5736, allocations: 42.62 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.5737, allocations: 20.98 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.5737, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.5737, allocations: 34.56 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.5737, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002011/0.5757, allocations: 494 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.5758, allocations: 59.41 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.322e-05/0.5758, allocations: 93.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5758, allocations: 25.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.5759, allocations: 84.12 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.5759, allocations: 31.55 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.576, allocations: 21.72 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.5761, allocations: 314.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.5761, allocations: 23.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.103e-05/0.5761, allocations: 23.98 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.5763, allocations: 56.86 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5763, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001478/0.5764, allocations: 97.75 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5764, allocations: 6.281 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.5764, allocations: 7.766 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5765, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5766, allocations: 15.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5766, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.5767, allocations: 448 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.5767, allocations: 4 kB / 1.021 GB, free: 14.23 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.541e-05/0.5768, allocations: 113.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.5768, allocations: 7.844 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.5769, allocations: 15.97 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5769, allocations: 7.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5769, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5769, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.577, allocations: 171.5 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.577, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.5771, allocations: 19.92 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5772, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5772, allocations: 8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5772, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5772, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.5774, allocations: 145 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.5775, allocations: 81.05 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.5775, allocations: 4.031 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5776, allocations: 12.05 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.5776, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5776, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.5777, allocations: 75.28 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5777, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001907/0.5779, allocations: 8 kB / 1.022 GB, free: 13.46 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.0004503/0.5783, allocations: 0.6943 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.5785, allocations: 63.92 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5785, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.5785, allocations: 32.2 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.5788, allocations: 8.344 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.58, allocations: 1.275 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5802, allocations: 0.6807 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.5803, allocations: 12 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.5804, allocations: 15.44 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5804, allocations: 0 / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7642/1.345, allocations: 1.604 MB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.77, allocations: 17.56 kB / 1.026 GB, free: 9.102 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