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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001993/0.001994, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.84 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3666, allocations: 157.4 MB / 1.052 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002503/0.3692, allocations: 1.317 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000508/0.3697, allocations: 243.2 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.3697, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.3697, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.3698, allocations: 7.922 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.3701, allocations: 31.84 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.3701, allocations: 15.98 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.3702, allocations: 0 / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.3702, allocations: 15.98 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.3703, allocations: 7.984 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.3703, allocations: 7.938 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3704, allocations: 47.95 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.3704, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3704, allocations: 7.984 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3706, allocations: 39.83 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3706, allocations: 0 / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3706, allocations: 0 / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3706, allocations: 0 / 1.054 GB, free: 7.141 MB / 0.8106 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.0005027/0.3711, allocations: 347.7 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3711, allocations: 8.031 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.3713, allocations: 12.92 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3715, allocations: 168.3 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3715, allocations: 384 / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3715, allocations: 4.375 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3717, allocations: 42.25 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3717, allocations: 192 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3717, allocations: 15.92 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3717, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.3718, allocations: 12 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.372, allocations: 153.7 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.407e-05/0.3721, allocations: 46.56 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.3721, allocations: 20.98 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.3722, allocations: 4 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3722, allocations: 34.56 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3722, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.002218/0.3744, allocations: 0.5019 MB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3745, allocations: 51.41 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.3745, allocations: 93.8 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3746, allocations: 25.7 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.3746, allocations: 80.14 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.3747, allocations: 31.55 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.3747, allocations: 21.72 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3749, allocations: 318.8 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.3749, allocations: 27.94 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.375, allocations: 23.98 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3751, allocations: 56.98 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3751, allocations: 4 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001578/0.3753, allocations: 89.62 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3753, allocations: 9.188 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3753, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3753, allocations: 448 / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3755, allocations: 15.98 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3755, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.3756, allocations: 8 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3756, allocations: 4 kB / 1.056 GB, free: 4.668 MB / 0.8106 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 0.0001214/0.3757, allocations: 113.8 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3758, allocations: 11.84 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.3758, allocations: 11.97 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3759, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3759, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3759, allocations: 3.984 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3761, allocations: 179.4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3761, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3763, allocations: 15.98 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3763, allocations: 3.938 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3763, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3763, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3763, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3766, allocations: 141 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.3767, allocations: 88.98 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3767, allocations: 8.047 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3768, allocations: 7.938 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.3769, allocations: 4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.3769, allocations: 0 / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.3769, allocations: 79.28 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3769, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001947/0.3771, allocations: 12.09 kB / 1.057 GB, free: 3.898 MB / 0.8106 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.0001807/0.3773, allocations: 111.2 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.3775, allocations: 59.92 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3775, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.3776, allocations: 31.98 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3779, allocations: 9.312 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.3785, allocations: 192.5 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3789, allocations: 0.677 MB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.231e-05/0.379, allocations: 15.98 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.379, allocations: 11.44 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.379, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of Templates: time 0.002759/0.3818, allocations: 0.6703 MB / 1.058 GB, free: 2.113 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) 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) Reference file matches