Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.01117/0.01117, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.002706/0.002706, allocations: 188.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 62.81 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3678, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002994/0.3708, allocations: 1.291 MB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3721, allocations: 0.6451 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.3722, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.3722, allocations: 7.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.3723, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.3728, allocations: 111.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.3729, allocations: 23.92 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.373, allocations: 7.984 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.373, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.3731, allocations: 19.86 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3731, allocations: 7.984 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3734, allocations: 135.8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3734, allocations: 8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.3735, allocations: 11.92 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3737, allocations: 95.83 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3737, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3737, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.872e-06/0.3738, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 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.0005517/0.3743, allocations: 355.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3744, allocations: 8.031 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.3748, allocations: 32.89 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.375, allocations: 172.3 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.375, allocations: 384 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.375, allocations: 4.281 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3752, allocations: 54.22 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3752, allocations: 192 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3752, allocations: 7.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3753, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3754, allocations: 27.97 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.3756, allocations: 161.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.376, allocations: 74.47 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.3761, allocations: 24.94 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3761, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3761, allocations: 34.5 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.3761, allocations: 3.984 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003448/0.3796, allocations: 0.5798 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3796, allocations: 55.41 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.3797, allocations: 93.86 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3798, allocations: 25.83 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.3798, allocations: 84.14 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3798, allocations: 23.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.3799, allocations: 21.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.38, allocations: 318.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3802, allocations: 43.89 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3803, allocations: 39.97 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3806, allocations: 76.83 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3806, allocations: 3.984 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003421/0.3809, allocations: 125.6 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.381, allocations: 11.88 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.381, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.381, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.3812, allocations: 27.91 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3812, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3814, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3814, allocations: 15.98 kB / 1.093 GB, free: 12.37 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3815, allocations: 107.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.3816, allocations: 7.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.3816, allocations: 7.969 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3817, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3817, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3817, allocations: 3.984 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3819, allocations: 183.5 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3819, allocations: 4.062 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.3821, allocations: 23.97 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3821, allocations: 7.922 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3822, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3822, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3822, allocations: 8 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.3827, allocations: 192.9 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3828, allocations: 81.11 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3828, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.383, allocations: 16.02 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.383, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.383, allocations: 3.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.3831, allocations: 79.28 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3831, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002444/0.3833, allocations: 35.94 kB / 1.093 GB, free: 11.51 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002389/0.3836, allocations: 127.3 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.3839, allocations: 87.86 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3839, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3841, allocations: 51.89 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3844, allocations: 10.98 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.385, allocations: 160.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3853, allocations: 0.6846 MB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.3854, allocations: 31.81 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.3855, allocations: 19.42 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3855, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of Templates: time 0.00408/0.3896, allocations: 1.515 MB / 1.096 GB, free: 8.809 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches