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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001666/0.001666, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.14 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3568, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002524/0.3593, allocations: 1.319 MB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005175/0.3599, allocations: 237.5 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.3599, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3599, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.36, allocations: 3.984 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.3603, allocations: 35.83 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.3604, allocations: 27.92 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.3604, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.3604, allocations: 4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3605, allocations: 19.91 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3605, allocations: 11.94 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.3606, allocations: 39.95 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.3607, allocations: 7.938 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.3607, allocations: 8 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3608, allocations: 35.89 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3608, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3608, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3608, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 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.0004178/0.3613, allocations: 347.8 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3613, allocations: 8.031 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.3614, allocations: 12.92 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3616, allocations: 160.4 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3616, allocations: 384 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.3616, allocations: 4.375 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3618, allocations: 46.25 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3618, allocations: 192 / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3618, allocations: 3.938 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3618, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.3619, allocations: 19.92 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.362, allocations: 153.7 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.3621, allocations: 42.58 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.3622, allocations: 20.97 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3622, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3622, allocations: 34.56 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3622, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.002232/0.3645, allocations: 0.4979 MB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3645, allocations: 55.41 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.518e-05/0.3646, allocations: 89.86 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3646, allocations: 29.7 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.3646, allocations: 80.14 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3647, allocations: 27.64 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3647, allocations: 25.7 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.3648, allocations: 310.8 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.3649, allocations: 23.98 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.3649, allocations: 27.94 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.365, allocations: 68.91 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.365, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001357/0.3652, allocations: 89.59 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3652, allocations: 7.938 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3652, allocations: 448 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3652, allocations: 4 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3654, allocations: 15.94 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3654, allocations: 3.984 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.3655, allocations: 8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3655, allocations: 8 kB / 1.072 GB, free: 6.539 MB / 0.8262 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 7.929e-05/0.3656, allocations: 109.8 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.3656, allocations: 7.938 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.3656, allocations: 11.97 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3657, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3657, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3657, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.3658, allocations: 179.2 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3658, allocations: 4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.3659, allocations: 15.98 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.366, allocations: 7.938 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.366, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.366, allocations: 3.938 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.366, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3663, allocations: 153 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3663, allocations: 85.08 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3664, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3665, allocations: 16.14 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.3665, allocations: 7.938 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.3665, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.3666, allocations: 75.28 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3666, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001903/0.3668, allocations: 16 kB / 1.072 GB, free: 5.762 MB / 0.8262 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.0001195/0.3669, allocations: 103.2 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.367, allocations: 67.91 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3671, allocations: 0 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.3671, allocations: 35.92 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3674, allocations: 8 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.3679, allocations: 190.7 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3682, allocations: 0.6788 MB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.064e-05/0.3683, allocations: 15.94 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3683, allocations: 11.44 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3683, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.00282/0.3711, allocations: 0.7037 MB / 1.074 GB, free: 3.941 MB / 0.8262 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