Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 183.1 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008831, allocations: 106 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003647, allocations: 11.97 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1967, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.3593, allocations: 131.9 MB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.3596, allocations: 87.88 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005013/0.3646, allocations: 1.844 MB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.497e-06/0.3646, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3646, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 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.0003418/0.365, allocations: 339.3 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.365, allocations: 8.031 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3652, allocations: 11.98 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.3653, allocations: 163 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3653, allocations: 4 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3654, allocations: 7.984 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3655, allocations: 46.52 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3655, allocations: 0 / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3655, allocations: 0 / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3655, allocations: 4 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.3656, allocations: 19.92 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3658, allocations: 169.7 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.241e-05/0.3659, allocations: 46.5 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3659, allocations: 0 / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.366, allocations: 30.56 kB / 1.032 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.366, allocations: 0 / 1.032 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002098/0.3681, allocations: 0.4942 MB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.3681, allocations: 51.41 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.3682, allocations: 92.98 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3682, allocations: 25.7 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.3682, allocations: 88.12 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.3683, allocations: 19.62 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.3683, allocations: 8 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3684, allocations: 318.8 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.3685, allocations: 20 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.3685, allocations: 19.98 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.3686, allocations: 32.12 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3686, allocations: 4 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001446/0.3688, allocations: 89.62 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3688, allocations: 4 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3688, allocations: 4 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3688, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.369, allocations: 15.98 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.369, allocations: 3.938 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.3691, allocations: 0 / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3691, allocations: 8 kB / 1.033 GB, free: 8.051 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.3692, allocations: 113.8 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3692, allocations: 7.906 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.3692, allocations: 15.97 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3693, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3693, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3693, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3694, allocations: 183.3 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3694, allocations: 0 / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3696, allocations: 19.98 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3696, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3696, allocations: 7.938 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3696, allocations: 448 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3696, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3699, allocations: 145 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.3699, allocations: 85.09 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3699, allocations: 4 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3701, allocations: 7.984 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.3701, allocations: 8.062 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3701, allocations: 4 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.566e-05/0.3701, allocations: 75.28 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3701, allocations: 0 / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001826/0.3703, allocations: 12 kB / 1.034 GB, free: 7.277 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.3705, allocations: 111.2 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3706, allocations: 63.95 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3706, allocations: 0 / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.3707, allocations: 35.98 kB / 1.034 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.3709, allocations: 9.969 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.3714, allocations: 184.5 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3716, allocations: 0.686 MB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.682e-05/0.3717, allocations: 12.19 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3718, allocations: 11.44 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/0.3718, allocations: 0 / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of Templates: time 0.002548/0.3743, allocations: 0.6413 MB / 1.035 GB, free: 5.508 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches