Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001383/0.001383, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7444, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00154/0.746, allocations: 0.9839 MB / 1.022 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.747, allocations: 0.5855 MB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.7471, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.7471, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.7471, allocations: 7.984 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.7475, allocations: 95.59 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.7476, allocations: 19.97 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.7477, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.7477, allocations: 15.98 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.7478, allocations: 11.94 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7478, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.7481, allocations: 159.8 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.7481, allocations: 11.92 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.7482, allocations: 29.7 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.7483, allocations: 61.89 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7483, allocations: 0 / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7483, allocations: 0 / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.7483, allocations: 0 / 1.023 GB, free: 15.11 MB / 0.7794 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.0004519/0.7488, allocations: 355.2 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7488, allocations: 8.031 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.7493, allocations: 31.91 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.7494, allocations: 167 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.7494, allocations: 11.95 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.7494, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.7496, allocations: 57.59 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7496, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7497, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7497, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.7498, allocations: 35.97 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.75, allocations: 157.7 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.7503, allocations: 74.53 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.7503, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.7504, allocations: 34.5 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.7504, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.003277/0.7537, allocations: 0.5683 MB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.7537, allocations: 55.34 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.7538, allocations: 101.9 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.7538, allocations: 25.7 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.7538, allocations: 80.14 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.7539, allocations: 27.64 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.7539, allocations: 0 / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.754, allocations: 310.8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.7542, allocations: 40.09 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.7543, allocations: 35.97 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.7544, allocations: 39.97 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.7545, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000346/0.7548, allocations: 133.4 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7548, allocations: 6.344 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7548, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7549, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.7551, allocations: 23.97 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7551, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.7552, allocations: 7.984 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.7553, allocations: 8 kB / 1.025 GB, free: 12.48 MB / 0.7794 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 (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 8.985e-05/0.7554, allocations: 109.8 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.7554, allocations: 12.22 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.7555, allocations: 11.95 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.7555, allocations: 7.984 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7555, allocations: 0 / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7555, allocations: 0 / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.7557, allocations: 199.5 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7557, allocations: 0 / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.7559, allocations: 31.86 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7559, allocations: 0 / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.7559, allocations: 0 / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.7559, allocations: 7.984 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7559, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.7565, allocations: 185 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.7565, allocations: 81.02 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.7566, allocations: 8.141 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.7568, allocations: 16.02 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.7568, allocations: 8 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.7568, allocations: 3.984 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.7569, allocations: 83.22 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7569, allocations: 3.938 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002508/0.7571, allocations: 28 kB / 1.026 GB, free: 11.61 MB / 0.7794 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 (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.0002197/0.7573, allocations: 131.3 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.7577, allocations: 83.92 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7577, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7578, allocations: 47.91 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.758, allocations: 15.92 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.7587, allocations: 168.9 kB / 1.026 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.7589, allocations: 0.6848 MB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.7592, allocations: 24 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.7592, allocations: 15.42 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7592, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.004482/0.7637, allocations: 1.432 MB / 1.028 GB, free: 8.996 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches