Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 186.4 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.947/2.947, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.89 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7874, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002591/0.79, allocations: 1.284 MB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.7912, allocations: 0.6481 MB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.7912, allocations: 0 / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.7912, allocations: 3.938 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.7912, allocations: 7.984 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.7917, allocations: 111.5 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.7918, allocations: 31.84 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.7918, allocations: 0 / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.7919, allocations: 15.98 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.7919, allocations: 11.92 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7919, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.7922, allocations: 143.8 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.7922, allocations: 3.938 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.7923, allocations: 8 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.7925, allocations: 103.3 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7925, allocations: 4 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7925, allocations: 4 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.7925, allocations: 3.938 kB / 1.277 GB, free: 1.793 MB / 0.9669 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.0004993/0.793, allocations: 275.4 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.793, allocations: 12.03 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.7935, allocations: 36.89 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.7936, allocations: 114.4 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.7936, allocations: 4.375 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.7936, allocations: 4.375 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.7938, allocations: 58.16 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7938, allocations: 192 / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.7938, allocations: 3.938 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.7939, allocations: 0 / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.794, allocations: 31.97 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.7942, allocations: 144.7 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.7945, allocations: 58.53 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.7946, allocations: 32.94 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.7947, allocations: 0 / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.7947, allocations: 34.56 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.7947, allocations: 0 / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.003532/0.7982, allocations: 0.4967 MB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.7983, allocations: 55.41 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.7984, allocations: 97.84 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.7984, allocations: 29.7 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.7984, allocations: 80.14 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.7985, allocations: 19.8 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.7985, allocations: 33.81 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7987, allocations: 310.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.7988, allocations: 39.97 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.799, allocations: 31.97 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.7993, allocations: 84.81 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.7993, allocations: 0 / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004098/0.7997, allocations: 129.7 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7997, allocations: 7.938 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7997, allocations: 8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7997, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.7999, allocations: 23.91 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7999, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.8001, allocations: 12.31 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.8001, allocations: 3.984 kB / 1.279 GB, free: 15.34 MB / 0.9825 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.0001206/0.8002, allocations: 113.8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.8003, allocations: 7.938 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.8003, allocations: 12.05 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8003, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8003, allocations: 3.938 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8003, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.8005, allocations: 162.8 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8005, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.8007, allocations: 23.91 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8008, allocations: 7.938 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.8008, allocations: 8.047 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8008, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8008, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.8013, allocations: 189.1 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.8014, allocations: 11.88 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.8014, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.8016, allocations: 16.06 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.8016, allocations: 3.984 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.8016, allocations: 7.984 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.8017, allocations: 75.28 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8017, allocations: 4 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002527/0.8019, allocations: 23.94 kB / 1.28 GB, free: 14.61 MB / 0.9825 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.0002483/0.8022, allocations: 131.1 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.8025, allocations: 87.92 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8025, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.8027, allocations: 43.95 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.803, allocations: 17.36 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.8037, allocations: 162 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.804, allocations: 0.6807 MB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00016/0.8041, allocations: 35.86 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.8042, allocations: 15.42 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.8042, allocations: 0 / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of Templates: time 0.004667/0.8089, allocations: 1.557 MB / 1.282 GB, free: 11.88 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.954019491560757]