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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.34/3.34, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 69.77 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002641/0.3696, allocations: 1.308 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3709, allocations: 0.6048 MB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.3709, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.3709, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.3709, allocations: 3.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.3715, allocations: 119.4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.3715, allocations: 27.86 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.3716, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.3716, allocations: 11.92 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.3717, allocations: 11.98 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3717, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.372, allocations: 139.8 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.372, allocations: 11.91 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.372, allocations: 12 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3723, allocations: 99.7 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3723, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3723, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3723, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 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.0005279/0.3728, allocations: 278.1 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3728, allocations: 12.03 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.3733, allocations: 28.89 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3734, allocations: 118.4 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3734, allocations: 384 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3734, allocations: 384 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3737, allocations: 83.92 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3737, allocations: 192 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3737, allocations: 7.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3737, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3738, allocations: 27.97 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.374, allocations: 113.2 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.3744, allocations: 70.52 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.3744, allocations: 32.86 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3745, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3745, allocations: 30.56 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3745, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.003426/0.3779, allocations: 0.5007 MB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.378, allocations: 55.34 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.378, allocations: 93.86 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3781, allocations: 25.7 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.3781, allocations: 88.27 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.3782, allocations: 23.78 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.3782, allocations: 25.7 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3784, allocations: 318.8 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3785, allocations: 39.91 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.3787, allocations: 35.95 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3789, allocations: 92.8 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3789, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003632/0.3793, allocations: 117.6 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3793, allocations: 4 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3793, allocations: 11.94 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3793, allocations: 0 / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3796, allocations: 27.91 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3796, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3797, allocations: 8 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3797, allocations: 3.984 kB / 1.368 GB, free: 8.816 MB / 1.061 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 9.886e-05/0.3798, allocations: 113.8 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.3798, allocations: 64 / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.3799, allocations: 27.98 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3799, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3799, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3799, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3801, allocations: 127.4 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3801, allocations: 0 / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.3803, allocations: 23.97 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3803, allocations: 4 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3803, allocations: 7.922 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.3803, allocations: 3.938 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3803, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.3809, allocations: 193 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.3809, allocations: 3.953 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3809, allocations: 0 / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3811, allocations: 19.95 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.3811, allocations: 7.984 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3811, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.3812, allocations: 87.2 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 4.156 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002494/0.3814, allocations: 27.94 kB / 1.369 GB, free: 8.109 MB / 1.061 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.0002322/0.3817, allocations: 128.7 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.382, allocations: 87.86 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.382, allocations: 4 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3822, allocations: 43.95 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3824, allocations: 9.094 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.3831, allocations: 162.2 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.3831, allocations: 67.3 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.3833, allocations: 23.98 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.3834, allocations: 19.42 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3834, allocations: 0 / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of Templates: time 0.004764/0.3881, allocations: 1.589 MB / 1.371 GB, free: 5.992 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.00143177807331]