Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 211.8 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.407/3.407, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.88 kB / 1.186 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3558, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002713/0.3585, allocations: 1.285 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.3591, allocations: 215.3 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.3591, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.3591, allocations: 3.938 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.3592, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3595, allocations: 43.83 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.3596, allocations: 19.92 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.3596, allocations: 4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.3597, allocations: 11.98 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.3597, allocations: 11.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3598, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3599, allocations: 43.95 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3599, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3599, allocations: 8 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.36, allocations: 47.81 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.36, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3601, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3601, allocations: 4 kB / 1.366 GB, free: 11.86 MB / 1.061 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.0004338/0.3605, allocations: 258.3 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3605, allocations: 8.031 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.3607, allocations: 12.92 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.3608, allocations: 106.5 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3608, allocations: 384 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3608, allocations: 8.375 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3609, allocations: 75.83 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3609, allocations: 4.188 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.361, allocations: 3.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.361, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.361, allocations: 15.98 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.3611, allocations: 105.3 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3612, allocations: 38.62 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.3613, allocations: 28.91 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3613, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3613, allocations: 34.55 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3613, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.00198/0.3633, allocations: 432.9 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3634, allocations: 51.41 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.3634, allocations: 93.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3634, allocations: 29.7 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3635, allocations: 84.14 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3635, allocations: 27.8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.3636, allocations: 21.72 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3637, allocations: 314.8 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.3638, allocations: 20 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.3638, allocations: 27.92 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3639, allocations: 56.86 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3639, allocations: 0 / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001595/0.3641, allocations: 97.75 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3641, allocations: 4 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3641, allocations: 11.92 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3641, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3642, allocations: 12 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3642, allocations: 80 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.3643, allocations: 4.438 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3643, allocations: 7.984 kB / 1.367 GB, free: 9.691 MB / 1.061 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.651e-05/0.3644, allocations: 109.8 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.3644, allocations: 3.953 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.3645, allocations: 23.83 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3645, allocations: 11.94 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3645, allocations: 4 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3645, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.3646, allocations: 115.1 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3646, allocations: 0 / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.3647, allocations: 15.98 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3647, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3647, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.3648, allocations: 7.938 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3648, allocations: 0 / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.365, allocations: 137.1 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.365, allocations: 7.969 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.365, allocations: 8.062 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3651, allocations: 15.86 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.3652, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3652, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.3652, allocations: 75.28 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3652, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001882/0.3654, allocations: 12 kB / 1.368 GB, free: 9.082 MB / 1.061 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.0001275/0.3655, allocations: 103.2 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.3657, allocations: 59.92 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3657, allocations: 4 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.3657, allocations: 27.98 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.366, allocations: 5.375 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.3665, allocations: 182.7 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.78e-05/0.3665, allocations: 67.2 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.255e-05/0.3666, allocations: 19.88 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.3667, allocations: 11.44 kB / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.3667, allocations: 0 / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of Templates: time 0.003402/0.3701, allocations: 0.7175 MB / 1.369 GB, free: 7.895 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.987929314374924]