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.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001019/0.001019, allocations: 174.5 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.0009179/0.0009178, allocations: 90.45 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.138e-05, allocations: 7.984 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9123/1.161, allocations: 132.9 MB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.161, allocations: 95.39 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009255/1.17, allocations: 2.854 MB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.092e-06/1.17, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.531e-06/1.17, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004413/1.171, allocations: 346.1 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.171, allocations: 8.031 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/1.171, allocations: 27.95 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.171, allocations: 167 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.171, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.171, allocations: 7.938 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/1.171, allocations: 56.97 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.171, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/1.171, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.171, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/1.172, allocations: 18.73 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/1.172, allocations: 177.8 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/1.172, allocations: 56.48 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/1.172, allocations: 23.88 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/1.172, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.172, allocations: 33.94 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/1.172, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.002984/1.175, allocations: 0.5058 MB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.175, allocations: 59.34 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/1.175, allocations: 91.98 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/1.175, allocations: 29.7 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/1.175, allocations: 84.12 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/1.175, allocations: 18.84 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/1.175, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.176, allocations: 326.8 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/1.176, allocations: 31.23 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/1.176, allocations: 31.05 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/1.176, allocations: 30.36 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/1.176, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/1.176, allocations: 104.2 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.176, allocations: 9.094 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/1.176, allocations: 0 / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/1.176, allocations: 0 / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/1.176, allocations: 27.95 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/1.176, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/1.176, allocations: 7.75 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.176, allocations: 3.984 kB / 1.027 GB, free: 13.02 MB / 0.6511 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 (7): * Single equations (assignments): 7 * 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 0.000105/1.177, allocations: 112.9 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/1.177, allocations: 0 / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/1.177, allocations: 18.53 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.177, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.177, allocations: 4.062 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/1.177, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/1.177, allocations: 195.7 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.177, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/1.177, allocations: 27.95 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.177, allocations: 4 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.177, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.177, allocations: 3.984 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.177, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/1.178, allocations: 167 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/1.178, allocations: 84.95 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/1.178, allocations: 7.969 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.178, allocations: 12.05 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/1.178, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.178, allocations: 11.61 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.086e-05/1.178, allocations: 75.28 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.178, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002876/1.178, allocations: 28 kB / 1.027 GB, free: 12.24 MB / 0.6511 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 (6): * Single equations (assignments): 6 * 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.0002889/1.179, allocations: 147.2 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001855/1.179, allocations: 64.34 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.179, allocations: 3.938 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/1.179, allocations: 42.67 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/1.179, allocations: 13.03 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/1.18, allocations: 106.9 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.18, allocations: 0.6848 MB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002324/1.18, allocations: 30.69 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/1.18, allocations: 27.05 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.18, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.003977/1.184, allocations: 1.48 MB / 1.03 GB, free: 9.688 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches