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.533/1.533, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 176.7 kB / 316.3 MB, free: 3.293 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.939/1.939, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.000829/0.0008289, allocations: 86.23 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.827e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8663/1.114, allocations: 132.1 MB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.115, allocations: 86.44 kB / 1.014 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005216/1.12, allocations: 1.823 MB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/1.12, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.824e-06/1.12, allocations: 4 kB / 1.016 GB, free: 4.059 MB / 0.6355 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.0003783/1.12, allocations: 334.4 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.12, allocations: 12.03 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.121, allocations: 7.984 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/1.121, allocations: 171 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/1.121, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/1.121, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.643e-05/1.121, allocations: 11.81 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/1.121, allocations: 41.56 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.121, allocations: 4 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.121, allocations: 3.984 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.121, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/1.121, allocations: 138 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/1.121, allocations: 40.73 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/1.121, allocations: 24.48 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/1.121, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.121, allocations: 34.56 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/1.121, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001902/1.123, allocations: 472.3 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/1.123, allocations: 51.41 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/1.123, allocations: 93.86 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/1.123, allocations: 25.7 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/1.124, allocations: 80.14 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/1.124, allocations: 26.31 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/1.124, allocations: 0 / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.124, allocations: 322.5 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/1.124, allocations: 19.69 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/1.124, allocations: 22.12 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/1.124, allocations: 21.56 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.124, allocations: 3.953 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001331/1.124, allocations: 84.31 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.124, allocations: 4 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.124, allocations: 4.938 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.124, allocations: 3.984 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/1.124, allocations: 12 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.124, allocations: 3.938 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/1.124, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/1.124, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.6355 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 () * 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 9.107e-05/1.124, allocations: 101 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/1.124, allocations: 7.859 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/1.125, allocations: 14.53 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.125, allocations: 7.984 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.125, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.125, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/1.125, allocations: 151.4 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.125, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/1.125, allocations: 19.98 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.125, allocations: 3.953 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.125, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.125, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.125, allocations: 256 / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/1.125, allocations: 139.9 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/1.125, allocations: 89.03 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/1.125, allocations: 7.953 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/1.125, allocations: 12.28 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/1.125, allocations: 3.984 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/1.125, allocations: 4 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.866e-05/1.125, allocations: 79.22 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/1.125, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001832/1.126, allocations: 8 kB / 1.019 GB, free: 1.219 MB / 0.6355 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 () * 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.0002019/1.126, allocations: 111.2 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001498/1.126, allocations: 59.31 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.126, allocations: 0 / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/1.126, allocations: 30.5 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/1.126, allocations: 4.641 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/1.127, allocations: 116.1 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/1.127, allocations: 0.6807 MB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.931e-05/1.127, allocations: 12.19 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/1.127, allocations: 11.44 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.127, allocations: 0 / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of Templates: time 0.002955/1.13, allocations: 0.6279 MB / 1.02 GB, free: 15.6 MB / 0.6511 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