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.647/1.647, allocations: 249.5 MB / 257 MB, free: 7 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.001161/0.001162, allocations: 176.9 kB / 316.3 MB, free: 3.301 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.792/1.792, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.00103/0.00103, allocations: 76.66 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.937e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.107, allocations: 133.1 MB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.107, allocations: 89.86 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008618/1.116, allocations: 2.845 MB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.116, allocations: 0.9375 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.563e-06/1.116, allocations: 0 / 1.018 GB, free: 2.223 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003735/1.116, allocations: 346.4 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.019e-05/1.116, allocations: 8.031 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/1.117, allocations: 27.78 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/1.117, allocations: 167 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.117, allocations: 4 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/1.117, allocations: 0 / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.664e-05/1.117, allocations: 23.8 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/1.117, allocations: 45.48 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.117, allocations: 7.922 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.117, allocations: 0 / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/1.117, allocations: 3.984 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/1.117, allocations: 149.9 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/1.118, allocations: 50.11 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/1.118, allocations: 24.81 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/1.118, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.118, allocations: 38.5 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/1.118, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.001645/1.119, allocations: 419.8 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/1.119, allocations: 59.28 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/1.12, allocations: 92.81 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/1.12, allocations: 25.7 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/1.12, allocations: 80.27 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/1.12, allocations: 31.45 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/1.12, allocations: 0 / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.12, allocations: 310.8 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/1.12, allocations: 31.23 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/1.12, allocations: 23.61 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/1.12, allocations: 36.36 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/1.12, allocations: 0 / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001874/1.12, allocations: 100.4 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.12, allocations: 8 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.12, allocations: 4 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.12, allocations: 0 / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.12, allocations: 23.97 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.12, allocations: 4.172 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/1.121, allocations: 7.984 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/1.121, allocations: 320 / 1.02 GB, free: 0 / 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 (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.0001047/1.121, allocations: 113 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.121, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/1.121, allocations: 16.28 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/1.121, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.121, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.121, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.121, allocations: 165.5 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.121, allocations: 11.95 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/1.121, allocations: 23.91 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.121, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.121, allocations: 7.984 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.121, allocations: 3.984 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.121, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/1.122, allocations: 163.2 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/1.122, allocations: 89.03 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.122, allocations: 8.094 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.122, allocations: 11.98 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/1.122, allocations: 4 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/1.122, allocations: 3.984 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.148e-05/1.122, allocations: 79.28 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002637/1.122, allocations: 32.08 kB / 1.021 GB, free: 15.25 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.000248/1.123, allocations: 135.2 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001589/1.123, allocations: 70.97 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.123, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/1.123, allocations: 35.84 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/1.123, allocations: 8.594 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/1.123, allocations: 105.8 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/1.124, allocations: 0.682 MB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002549/1.124, allocations: 37.75 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/1.124, allocations: 19.41 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.124, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.003848/1.128, allocations: 1.46 MB / 1.023 GB, free: 12.74 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