Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.934/2.934, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.235, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002645/1.237, allocations: 1.274 MB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005523/1.238, allocations: 240.4 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/1.238, allocations: 2.078 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/1.238, allocations: 4.781 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/1.238, allocations: 0.75 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/1.238, allocations: 40.97 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/1.238, allocations: 20.38 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/1.238, allocations: 2.812 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/1.238, allocations: 12.89 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/1.239, allocations: 14.88 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/1.239, allocations: 0.9375 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/1.239, allocations: 42.47 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/1.239, allocations: 2.703 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/1.239, allocations: 12.58 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/1.239, allocations: 38.17 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.239, allocations: 0.8125 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.239, allocations: 0 / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.114e-06/1.239, allocations: 0.8125 kB / 1.273 GB, free: 6.598 MB / 0.9981 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.0004276/1.239, allocations: 339 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.239, allocations: 13.5 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/1.239, allocations: 33.56 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/1.24, allocations: 13.61 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.877e-05/1.24, allocations: 162.5 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/1.24, allocations: 5.719 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/1.24, allocations: 2.5 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/1.24, allocations: 43.61 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.24, allocations: 7.938 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.24, allocations: 4.75 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.24, allocations: 0.75 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/1.24, allocations: 13.98 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/1.24, allocations: 162.8 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/1.24, allocations: 43.77 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/1.24, allocations: 19.36 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/1.24, allocations: 1 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/1.24, allocations: 40.92 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/1.24, allocations: 0 / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.002055/1.242, allocations: 0.4955 MB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/1.242, allocations: 52.66 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.292e-05/1.242, allocations: 97.8 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.242, allocations: 26.64 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/1.242, allocations: 82.88 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/1.242, allocations: 30.47 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/1.242, allocations: 19 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/1.243, allocations: 320.9 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/1.243, allocations: 21.03 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/1.243, allocations: 28.62 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.243, allocations: 54.98 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.243, allocations: 0 / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001594/1.243, allocations: 95.94 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.243, allocations: 7.297 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.243, allocations: 0 / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.243, allocations: 1.156 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/1.243, allocations: 14.33 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.243, allocations: 4 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/1.243, allocations: 5 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/1.243, allocations: 2.125 kB / 1.275 GB, free: 4.551 MB / 0.9981 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 8.106e-05/1.243, allocations: 118.3 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/1.243, allocations: 10.05 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/1.243, allocations: 11.97 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.243, allocations: 1.062 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.243, allocations: 1.062 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.243, allocations: 0 / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/1.243, allocations: 185.8 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.243, allocations: 0 / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.244, allocations: 18.02 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.244, allocations: 0 / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/1.244, allocations: 0.8438 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.244, allocations: 1 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.244, allocations: 0 / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/1.244, allocations: 143.5 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/1.244, allocations: 86.05 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/1.244, allocations: 7.688 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.244, allocations: 4.312 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/1.244, allocations: 3.047 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.244, allocations: 4.922 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.674e-05/1.244, allocations: 75.28 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.244, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001955/1.244, allocations: 13.75 kB / 1.276 GB, free: 3.902 MB / 0.9981 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.0004224/1.245, allocations: 0.6966 MB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001818/1.245, allocations: 60.91 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.245, allocations: 0 / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/1.245, allocations: 31.25 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/1.245, allocations: 8.781 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.246, allocations: 1.283 MB / 1.278 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/1.247, allocations: 0.6852 MB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.932e-05/1.247, allocations: 8.031 kB / 1.279 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/1.247, allocations: 11.81 kB / 1.279 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.247, allocations: 3.938 kB / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/1.275, allocations: 1.619 MB / 1.28 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/9.312, allocations: 9.375 kB / 1.28 GB, free: 16.97 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-09 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.910854410991305]